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>
This commit is contained in:
Gilad Ben-Yossef 2018-04-23 08:25:15 +01:00 committed by Herbert Xu
parent a794d8d876
commit 5e7b516a8e

View File

@ -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;
}