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: NVladis Dronov <vdronov@redhat.com> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Showing
想要评论请 注册 或 登录