dmaengine: mmp_tdma: use correct print specifiers for size_t
authorVinod Koul <vinod.koul@intel.com>
Wed, 14 Sep 2016 10:23:08 +0000 (15:53 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:59:47 +0000 (22:29 +0530)
commit3e13b386963b337de98a0ff92d2eefc5dfef6edd
treeade4d4f65c860553c1465b6a3e5cf17978a9cc7f
parent49ad6d7dd65b5f2ec3ed847eb64bb916cd29431e
dmaengine: mmp_tdma: use correct print specifiers for size_t

This driver warns:

drivers/dma/mmp_tdma.c: In function 'mmp_tdma_prep_dma_cyclic':
drivers/dma/mmp_tdma.c:437:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]

We should use %zu to print 'size_t' values.

Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_tdma.c