]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: sa11x0: use correct print specifiers for u32
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:20 +0000 (22:29 +0530)
commit872b4af48f878e361739bae7d3f300c0a35ecfd0
tree3519e5627dc2035e6cca334424a1d1b28146aae0
parentf92e934d57518ddb5ea9fbdac06c19091aa1316e
dmaengine: sa11x0: use correct print specifiers for u32

This driver when compiled on 64 bits gave warnings:

drivers/dma/sa11x0-dma.c:494:2: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘u32’ [-Wformat=]

We should use %x to print 'u32' values.

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