mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
26a05489ee
commit
85e0da925b
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ static int __init caam_rng_init(void)
|
||||||
rng_ctx = kmalloc(sizeof(struct caam_rng_ctx), GFP_DMA);
|
rng_ctx = kmalloc(sizeof(struct caam_rng_ctx), GFP_DMA);
|
||||||
if (!rng_ctx)
|
if (!rng_ctx)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
caam_init_rng(&rng_ctx, dev);
|
caam_init_rng(rng_ctx, dev);
|
||||||
|
|
||||||
dev_info(dev, "registering rng-caam\n");
|
dev_info(dev, "registering rng-caam\n");
|
||||||
return hwrng_register(&caam_rng);
|
return hwrng_register(&caam_rng);
|
||||||
|
|
Loading…
Reference in a new issue