projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a0548
)
crypto: caam - Fix first parameter to caam_init_rng
author
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 21 Mar 2014 13:32:54 +0000
(21:32 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 21 Mar 2014 13:32:54 +0000
(21:32 +0800)
Found by the kbuild test robot, the first argument to caam_init_rng
has a spurious ampersand.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamrng.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/caam/caamrng.c
b/drivers/crypto/caam/caamrng.c
index 403d8d599b5f43f0ff61c964cfb99b788bb0a2a4..3529b54048c9bfefb181198a44d06b1174f1331a 100644
(file)
--- a/
drivers/crypto/caam/caamrng.c
+++ b/
drivers/crypto/caam/caamrng.c
@@
-290,7
+290,7
@@
static int __init caam_rng_init(void)
rng_ctx = kmalloc(sizeof(struct caam_rng_ctx), GFP_DMA);
if (!rng_ctx)
return -ENOMEM;
- caam_init_rng(
&
rng_ctx, dev);
+ caam_init_rng(rng_ctx, dev);
dev_info(dev, "registering rng-caam\n");
return hwrng_register(&caam_rng);