From 85e0da925b2ddbf39a6cefb4e02ad51d0a0912c0 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 21 Mar 2014 21:32:54 +0800 Subject: [PATCH] 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 Signed-off-by: Herbert Xu --- drivers/crypto/caam/caamrng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1