]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: sa11x0: use correct print specifiers for size_t
authorVinod Koul <vinod.koul@intel.com>
Wed, 14 Sep 2016 09:52:49 +0000 (15:22 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 26 Sep 2016 16:59:26 +0000 (22:29 +0530)
commit762ff31dd4ec9d97e38bf3c1aa3c4bbd8e3e87ce
treebd0ce5cf0b35fa4ed23158f93d86966f34ee05e6
parent872b4af48f878e361739bae7d3f300c0a35ecfd0
dmaengine: sa11x0: use correct print specifiers for size_t

This driver when compiled on 64 bits gave warnings:

drivers/dma/sa11x0-dma.c:602:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘size_t’ [-Wformat=]

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

Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sa11x0-dma.c