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

Commit 4196968a 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 6abcc490 f3cb76b6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -221,11 +221,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))