]> 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)
commit1202e636741d499cd2a35c046f0d0ab2fec2ed04
treefe26e8b725eeb7b169909565894ece209f001188
parent28d5768316ee9b88f70e4519f7322f7fb981ba7a
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