mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
(cherry picked from commit 2f986ec6fa)
This commit is contained in:
parent
fc53f6adcf
commit
d323420ea0
|
|
@ -2522,7 +2522,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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user