OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a794d8d
)
crypto: ccree - use proper printk format
author
Gilad Ben-Yossef
<gilad@benyossef.com>
Mon, 23 Apr 2018 07:25:15 +0000
(08:25 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 5 May 2018 06:52:44 +0000
(14:52 +0800)
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>
drivers/crypto/ccree/cc_driver.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccree/cc_driver.c
b/drivers/crypto/ccree/cc_driver.c
index
89ce013
..
37f2e6e
100644
(file)
--- 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;
}