diff options
author | Vinod Koul <vinod.koul@intel.com> | 2014-11-06 13:07:48 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-11-17 09:35:02 +0100 |
commit | c66ec04ed73c2355fa17e8d114808eea90d95711 (patch) | |
tree | c6f42c9136206b0ac456fab198ee51d460463ead /kernel/torture.c | |
parent | dmaengine: at_xdmac: fix usage of read, write wrappers (diff) | |
download | linux-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 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions