aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/edma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2014-07-28 12:32:51 +0530
committerVinod Koul <vinod.koul@intel.com>2014-07-28 12:49:59 +0530
commit7f5e03e73672932ba5fdb078e79914ca93a9e1ee (patch)
treed824dbd3ef502c3a47bce1a3a62dfeebc2883fba /drivers/dma/edma.c
parentdmaengine: sun6i: fix build failure on x86, xilinx targets (diff)
downloadlinux-dev-7f5e03e73672932ba5fdb078e79914ca93a9e1ee.tar.xz
linux-dev-7f5e03e73672932ba5fdb078e79914ca93a9e1ee.zip
dmaengine: sun61: fix warning on bad print specfier
The sg_dma_len() returns unsigned int but we had driver print it as %zu, use %u as documented in Documentation/printk-formats.txt drivers/dma/sun6i-dma.c: In function ‘sun6i_dma_prep_slave_sg’: drivers/dma/sun6i-dma.c:643: warning: format ‘%zu’ expects type ‘size_t’, but argument 8 has type ‘unsigned int’ drivers/dma/sun6i-dma.c:661: warning: format ‘%zu’ expects type ‘size_t’, but argument 8 has type ‘unsigned int’ Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/edma.c')
0 files changed, 0 insertions, 0 deletions