summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-11-06 13:07:48 +0100
committerVinod Koul <vinod.koul@intel.com>2014-11-17 09:35:02 +0100
commitc66ec04ed73c2355fa17e8d114808eea90d95711 (patch)
treec6f42c9136206b0ac456fab198ee51d460463ead /block
parentdmaengine: at_xdmac: fix usage of read, write wrappers (diff)
downloadlinux-c66ec04ed73c2355fa17e8d114808eea90d95711.tar.xz
linux-c66ec04ed73c2355fa17e8d114808eea90d95711.zip
dmaengine: xdmac: fix print warning on size_t variable
As documented in printk-formats.txt the size_t should be printed with %zu/%zd specfiers. This way it works on all archs. make.cross ARCH=avr32 All warnings: drivers/dma/at_xdmac.c: In function 'at_xdmac_prep_dma_cyclic': >> drivers/dma/at_xdmac.c:663: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' >> drivers/dma/at_xdmac.c:663: warning: format '%d' expects type 'int', but argument 7 has type 'size_t' drivers/dma/at_xdmac.c: In function 'at_xdmac_prep_dma_memcpy': >> drivers/dma/at_xdmac.c:765: warning: format '%d' expects type 'int', but argument 7 has type 'size_t' >> drivers/dma/at_xdmac.c:794: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t' >> drivers/dma/at_xdmac.c:815: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t' Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions