summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-09-13 19:48:32 +0300
committerVinod Koul <vinod.koul@intel.com>2016-09-26 19:57:27 +0300
commit3fd386625679bd2adb94d2a3d25dd2fdd38b52e3 (patch)
treec7aabb49601732536aa0e3686000955f02dc4238 /README
parent4f5db8c8f8ee965436de24256bbd7a01778d4cdb (diff)
downloadlinux-3fd386625679bd2adb94d2a3d25dd2fdd38b52e3.tar.xz
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 'README')
0 files changed, 0 insertions, 0 deletions