Re: [PATCH v3 2/8] random: Add a urandom_read_nowait() for random APIs that don't warn

From: Theodore Y. Ts'o
Date: Tue Jan 07 2020 - 15:44:36 EST


On Mon, Dec 23, 2019 at 12:20:45AM -0800, Andy Lutomirski wrote:
> /dev/random and getrandom() never warn. Split the meat of
> urandom_read() into urandom_read_nowarn() and leave the warning code
> in urandom_read().
>
> This has no effect on kernel behavior, but it makes subsequent
> patches more straightforward. It also makes the fact that
> getrandom() never warns more obvious.
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>

Applied, thanks.

- Ted