mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
Static analysis with cppcheck detected that ret is not initialized
and hence garbage is potentially being returned in the case where
prng_data->ppnows.reseed_counter <= prng_reseed_limit.
Thanks to Martin Schwidefsky for spotting a mistake in my original
fix.
Fixes: 0177db01ad ("s390/crypto: simplify return code handling")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>