Merge "drivers: dma-removed: fix signedness issue"
This commit is contained in:
commit
d497f6142f
1 changed files with 2 additions and 2 deletions
|
@ -222,11 +222,11 @@ void *removed_alloc(struct device *dev, size_t size, dma_addr_t *handle,
|
||||||
bool no_kernel_mapping = dma_get_attr(DMA_ATTR_NO_KERNEL_MAPPING,
|
bool no_kernel_mapping = dma_get_attr(DMA_ATTR_NO_KERNEL_MAPPING,
|
||||||
attrs);
|
attrs);
|
||||||
bool skip_zeroing = dma_get_attr(DMA_ATTR_SKIP_ZEROING, attrs);
|
bool skip_zeroing = dma_get_attr(DMA_ATTR_SKIP_ZEROING, attrs);
|
||||||
int pageno;
|
unsigned int pageno;
|
||||||
unsigned long order;
|
unsigned long order;
|
||||||
void *addr = NULL;
|
void *addr = NULL;
|
||||||
struct removed_region *dma_mem = dev->removed_mem;
|
struct removed_region *dma_mem = dev->removed_mem;
|
||||||
int nbits;
|
unsigned int nbits;
|
||||||
unsigned int align;
|
unsigned int align;
|
||||||
|
|
||||||
if (!gfpflags_allow_blocking(gfp))
|
if (!gfpflags_allow_blocking(gfp))
|
||||||
|
|
Loading…
Add table
Reference in a new issue