summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-03-21 14:32:54 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-21 14:32:54 +0100
commit85e0da925b2ddbf39a6cefb4e02ad51d0a0912c0 (patch)
tree0a6e5c85c1fce551e6ac8d070267e2c1b35804b5 /drivers/crypto/caam
parentcrypto: omap-sham - Map SG pages if they are HIGHMEM before accessing (diff)
downloadlinux-85e0da925b2ddbf39a6cefb4e02ad51d0a0912c0.tar.xz
linux-85e0da925b2ddbf39a6cefb4e02ad51d0a0912c0.zip
crypto: caam - Fix first parameter to caam_init_rng
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>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r--drivers/crypto/caam/caamrng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/caamrng.c b/drivers/crypto/caam/caamrng.c
index 403d8d599b5f..3529b54048c9 100644
--- 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);