]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: drbg - Initialise mutex in drbg_healthcheck_sanity
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Apr 2015 03:26:48 +0000 (11:26 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 02:19:52 +0000 (10:19 +0800)
commitb094cbf80b0352c3043f0d21a12398762ce9db4d
treefe26e8b725eeb7b169909565894ece209f001188
parent123dbc44fc9103116f6c86a2c62fd841e2d2651b
crypto: drbg - Initialise mutex in drbg_healthcheck_sanity

As we moved the mutex init out of drbg_instantiate and into cra_init
we need to explicitly initialise the mutex in drbg_healthcheck_sanity.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Stephan Mueller <smueller@chronox.de>
crypto/drbg.c