Merge "drivers: dma-removed: fix signedness issue"

This commit is contained in:
Linux Build Service Account 2018-09-14 10:02:38 -07:00 committed by Gerrit - the friendly Code Review server
commit d497f6142f

View file

@ -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))