projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a394d1
)
crypto: hisilicon - Fix warning on printing %p with dma_addr_t
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 15 Aug 2019 22:47:43 +0000
(08:47 +1000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 04:57:34 +0000
(14:57 +1000)
This patch fixes a printk format warning by replacing %p with %#llx
for dma_addr_t.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/hisilicon/qm.c
b/drivers/crypto/hisilicon/qm.c
index
d72e062
..
f975c39
100644
(file)
--- a/
drivers/crypto/hisilicon/qm.c
+++ b/
drivers/crypto/hisilicon/qm.c
@@
-347,8
+347,8
@@
static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue,
struct qm_mailbox mailbox;
int ret = 0;
- dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%
pad\n", queue
,
-
cmd,
dma_addr);
+ dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%
llx\n"
,
+
queue, cmd, (unsigned long long)
dma_addr);
mailbox.w0 = cmd |
(op ? 0x1 << QM_MB_OP_SHIFT : 0) |