Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a27e75d7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 8e69e14d 3a1a4f58
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -77,11 +77,11 @@ void *removed_alloc(struct device *dev, size_t size, dma_addr_t *handle,
{
	bool no_kernel_mapping = attrs & DMA_ATTR_NO_KERNEL_MAPPING;
	bool skip_zeroing = attrs & DMA_ATTR_SKIP_ZEROING;
	int pageno;
	unsigned int pageno;
	unsigned long order;
	void __iomem *addr = NULL;
	struct removed_region *dma_mem = dev->removed_mem;
	int nbits;
	unsigned int nbits;
	unsigned int align;

	if (!gfpflags_allow_blocking(gfp))