diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-09-14 15:22:49 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 22:29:20 +0530 |
commit | 872b4af48f878e361739bae7d3f300c0a35ecfd0 (patch) | |
tree | 3519e5627dc2035e6cca334424a1d1b28146aae0 /drivers/dma | |
parent | f92e934d57518ddb5ea9fbdac06c19091aa1316e (diff) | |
download | op-kernel-dev-872b4af48f878e361739bae7d3f300c0a35ecfd0.zip op-kernel-dev-872b4af48f878e361739bae7d3f300c0a35ecfd0.tar.gz |
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/sa11x0-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c index 137fad5..4ebc00f 100644 --- a/drivers/dma/sa11x0-dma.c +++ b/drivers/dma/sa11x0-dma.c @@ -491,7 +491,7 @@ static enum dma_status sa11x0_dma_tx_status(struct dma_chan *chan, } spin_unlock_irqrestore(&c->vc.lock, flags); - dev_vdbg(d->slave.dev, "tx_status: bytes 0x%zx\n", state->residue); + dev_vdbg(d->slave.dev, "tx_status: bytes 0x%x\n", state->residue); return ret; } |