summaryrefslogtreecommitdiffstats
path: root/drivers/dma/coh901318_lli.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-09-13 18:57:53 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-26 18:58:17 +0200
commitc021d8351f1dfa296347210ee7befd571727f0a2 (patch)
tree2f27845e89fc6b3c15dcfcaf7d2cdb70b2a0c1a8 /drivers/dma/coh901318_lli.c
parentdmaengine: coh901318: return ssize_t for coh901318_debugfs_read (diff)
downloadlinux-c021d8351f1dfa296347210ee7befd571727f0a2.tar.xz
linux-c021d8351f1dfa296347210ee7befd571727f0a2.zip
dmaengine: coh901318: fix pointer cast warnings
On some systems, pointer can be large than unsigned int, triggering warning pointer-to-int-cast on conversion. drivers/dma/coh901318.c: In function 'coh901318_filter_id': drivers/dma/coh901318.c:1769:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int ch_nr = (unsigned int) chan_id; Also, converting an iomem pointer for print leads to warn on some system which can be avoided with %p specfier drivers/dma/coh901318.c: In function 'coh901318_probe': drivers/dma/coh901318.c:2748:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u32) base->virtbase); Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/coh901318_lli.c')
0 files changed, 0 insertions, 0 deletions