Re: [PATCH v3 02/10] m68k: use fallback for random_get_entropy() instead of zero

2022-04-12 Thread Geert Uytterhoeven
On Tue, Apr 12, 2022 at 7:29 PM Jason A. Donenfeld wrote: > In the event that random_get_entropy() can't access a cycle counter or > similar, falling back to returning 0 is really not the best we can do. > Instead, at least calling random_get_entropy_fallback() would be > preferable, because that

[PATCH v3 02/10] m68k: use fallback for random_get_entropy() instead of zero

2022-04-12 Thread Jason A. Donenfeld
In the event that random_get_entropy() can't access a cycle counter or similar, falling back to returning 0 is really not the best we can do. Instead, at least calling random_get_entropy_fallback() would be preferable, because that always needs to return _something_, even falling back to jiffies ev