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

Commit 2f986ec6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

dma: pl330: silence a compile warning



On 64 bit systems GCC warns that:

drivers/dma/pl330.c: In function ‘pl330_filter’:
drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

It's harmless and I have casted it away.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 02808b42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2314,7 +2314,7 @@ bool pl330_filter(struct dma_chan *chan, void *param)
		return false;

	peri_id = chan->private;
	return *peri_id == (unsigned)param;
	return *peri_id == (unsigned long)param;
}
EXPORT_SYMBOL(pl330_filter);