summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-04-23 08:25:15 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-05-05 14:52:44 +0800
commit5e7b516a8e6f840bcdfd5d6a8ede06bad62bc604 (patch)
tree5160bc3c368046cd60faaaa37df41ed3d64c55d5 /drivers/crypto
parenta794d8d876d21d165721b5460264ca811245f5bd (diff)
downloadlinux-5e7b516a8e6f840bcdfd5d6a8ede06bad62bc604.tar.bz2
crypto: ccree - use proper printk format
Fix incorrect use of %pad as a printk format string for none dma_addr_t variable. Discovered via smatch. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ccree/cc_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c
index 89ce013ae093..37f2e6ec0e88 100644
--- a/drivers/crypto/ccree/cc_driver.c
+++ b/drivers/crypto/ccree/cc_driver.c
@@ -265,7 +265,7 @@ static int init_cc_resources(struct platform_device *plat_dev)
}
if (rc) {
- dev_err(dev, "Failed in dma_set_mask, mask=%pad\n", &dma_mask);
+ dev_err(dev, "Failed in dma_set_mask, mask=%llx\n", dma_mask);
return rc;
}