Commit b395ed4f authored by Herbert Xu's avatar Herbert Xu

crypto: hisilicon - Fix warning on printing %p with dma_addr_t

This patch fixes a printk format warning by replacing %p with %#llx
for dma_addr_t.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9a394d12
...@@ -347,8 +347,8 @@ static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue, ...@@ -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; struct qm_mailbox mailbox;
int ret = 0; int ret = 0;
dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%pad\n", queue, dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%llx\n",
cmd, dma_addr); queue, cmd, (unsigned long long)dma_addr);
mailbox.w0 = cmd | mailbox.w0 = cmd |
(op ? 0x1 << QM_MB_OP_SHIFT : 0) | (op ? 0x1 << QM_MB_OP_SHIFT : 0) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment