summaryrefslogtreecommitdiff
path: root/drivers/dma/sh/shdmac.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-11 18:29:15 +0400
committerVinod Koul <vinod.koul@intel.com>2014-03-06 10:05:23 +0400
commit42e4a12a0d92d09de66d8b5b2c85855b8051c15e (patch)
tree9a3f13d3f72f70f4e65f6668a2f01bdfb3eedcb5 /drivers/dma/sh/shdmac.c
parentd6be34fbd39b7d577d25cb4edec538e8990ba07c (diff)
downloadlinux-42e4a12a0d92d09de66d8b5b2c85855b8051c15e.tar.xz
DMA: shdma: Fix warnings due to improper casts and printk formats
Use the %zu and %pad printk specifiers to print size_t and dma_addr_t variables, and cast pointers to uintptr_t instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: dmaengine@vger.kernel.org Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sh/shdmac.c')
0 files changed, 0 insertions, 0 deletions