[PATCH 0/2] hwrng: cn10k - Optimize random number generator driver

From: Vladis Dronov
Date: Wed Apr 13 2022 - 10:16:55 EST


Hi,

I'm suggesting couple of tweaks and fixes for the CN10K Random Number Generator
driver. Main points are: fix a logic, optimize a loop and make an error message
more informative.

Vladis Dronov (2):
hwrng: cn10k - Optimize cn10k_rng_read()
hwrng: cn10k - Make check_rng_health() return an error code

drivers/char/hw_random/cn10k-rng.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)