Skip to content

Commit

Permalink
crypto: caam - Fix first parameter to caam_init_rng
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu committed Mar 21, 2014
1 parent 26a0548 commit 85e0da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/caam/caamrng.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 85e0da9

Please sign in to comment.