Skip to content
Commit 32547a6a authored by Vladis Dronov's avatar Vladis Dronov Committed by Herbert Xu
Browse files

hwrng: cn10k - Make check_rng_health() return an error code



Currently check_rng_health() returns zero unconditionally.
Make it to output an error code and return it.

Fixes: 38e9791a ("hwrng: cn10k - Add random number generator support")
Signed-off-by: default avatarVladis Dronov <vdronov@redhat.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 753d6770
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment