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

Commit d497f614 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents a6cfd0a6 603f8c63
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
					attrs);
	bool skip_zeroing = dma_get_attr(DMA_ATTR_SKIP_ZEROING, attrs);
	int pageno;
	unsigned int pageno;
	unsigned long order;
	void *addr = NULL;
	struct removed_region *dma_mem = dev->removed_mem;
	int nbits;
	unsigned int nbits;
	unsigned int align;

	if (!gfpflags_allow_blocking(gfp))