summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-09-13 18:48:32 +0200
committerVinod Koul <vinod.koul@intel.com>2016-09-26 18:57:27 +0200
commit3fd386625679bd2adb94d2a3d25dd2fdd38b52e3 (patch)
treec7aabb49601732536aa0e3686000955f02dc4238 /drivers/virt
parentdmaengine: jz4780: make jz4780_dma_prep_dma_memcpy static (diff)
downloadlinux-3fd386625679bd2adb94d2a3d25dd2fdd38b52e3.tar.xz
linux-3fd386625679bd2adb94d2a3d25dd2fdd38b52e3.zip
dmaengine: coh901318: use correct print specifiers
This driver when compiled on 64 bits gave warnings: drivers/dma/coh901318.c: In function 'coh901318_list_print': warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=] warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'dma_addr_t' [-Wformat=] warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t' [-Wformat=] drivers/dma/coh901318.c: In function 'coh901318_prep_memcpy': warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t' [-Wformat=] warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=] warning: format '%d' expects argument of type 'int', but argument 8 has type 'size_t' [-Wformat=] We should use %pad to print 'dma_addr_t' values and %zu to print size_t values Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions