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)
commite11a754813e28dbfab63a23ae8fd22e9198489e1
treefe26e8b725eeb7b169909565894ece209f001188
parentfa3ae6253ccda65e6824a2a38c8a87c204c28d84
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