Skip to content
Commit f3f4668d authored by Vladis Dronov's avatar Vladis Dronov Committed by Ruiqiang Hao
Browse files

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



commit 2d25d3b7f83ae206379450f400521bee817e593d from
git@git.assembla.com:cavium/WindRiver.linux.git

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

Change-Id: If5e4fb2cf6340cf291694e8311fbe11905ed3d05
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>
Signed-off-by: default avatarAnil Kumar Reddy <areddy3@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/87096


Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Tested-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 184aa3e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment