projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
402096c
)
dmaengine: iop-adma.c: fix printk format warning
author
Randy Dunlap
<rdunlap@infradead.org>
Wed, 4 Sep 2019 05:06:57 +0000
(22:06 -0700)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 4 Sep 2019 05:44:00 +0000
(11:14 +0530)
Fix printk format warning in iop-adma.c (seen on x86_64) by using
%pad:
../drivers/dma/iop-adma.c:118:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
Fixes:
c211092313b9
("dmaengine: driver for the iop32x, iop33x, and iop13xx raid engines")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Link:
https://lore.kernel.org/r/1803541f-98a6-7cce-b050-ff1e9a333ab2@infradead.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/iop-adma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/iop-adma.c
b/drivers/dma/iop-adma.c
index 64a6e262d38f061dd8ce6c09a9d94a115a125497..003b753e46043fda880347243b92f00468186fef 100644
(file)
--- a/
drivers/dma/iop-adma.c
+++ b/
drivers/dma/iop-adma.c
@@
-116,9
+116,9
@@
static void __iop_adma_slot_cleanup(struct iop_adma_chan *iop_chan)
list_for_each_entry_safe(iter, _iter, &iop_chan->chain,
chain_node) {
pr_debug("\tcookie: %d slot: %d busy: %d "
- "this_desc: %
#x
next_desc: %#x ack: %d\n",
+ "this_desc: %
pad
next_desc: %#x ack: %d\n",
iter->async_tx.cookie, iter->idx, busy,
- iter->async_tx.phys, iop_desc_get_next_desc(iter),
+
&
iter->async_tx.phys, iop_desc_get_next_desc(iter),
async_tx_test_ack(&iter->async_tx));
prefetch(_iter);
prefetch(&_iter->async_tx);