dmaengine: s3c24xx: use correct print specifiers for size_t
authorVinod Koul <vinod.koul@intel.com>
Wed, 14 Sep 2016 10:45:20 +0000 (16:15 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 17:01:40 +0000 (22:31 +0530)
commitabdad50d1d184e0c663b57015d9bbc11701207e7
tree4c5adb5bfcb50fe3bd5be04f2eb7820d69372614
parente97adb49b415b3ff487e9fd0d759e843baf6f69e
dmaengine: s3c24xx: use correct print specifiers for size_t

This driver warns:

drivers/dma/s3c24xx-dma.c: In function 's3c24xx_dma_prep_memcpy':
drivers/dma/s3c24xx-dma.c:826:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]
drivers/dma/s3c24xx-dma.c:830:3: 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.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/s3c24xx-dma.c