diff options
author | Angelo Dureghello <angelo@sysam.it> | 2018-09-14 21:13:48 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-09-18 12:15:45 -0700 |
commit | 5b7d0c9474bc3798b38c393974747336a2cf8497 (patch) | |
tree | 7353ffae428eb1a6733191f2bd9b02f1af1408ce /include | |
parent | e7a3ff92eaf19eab14e8149758428e680c61706b (diff) |
dmaengine: mcf-edma: avoid warning for wrong pointer cast
This patch fixes the following compilation warning
reported during x86_64 allmodconfig build:
drivers/dma/mcf-edma.c: In function 'mcf_edma_filter_fn':
drivers/dma/mcf-edma.c:296:33: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
return (mcf_chan->slave_id == (u32)param);
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions