[PATCH v1 4/5] treewide: use get_random_bytes when possible

Kees Cook keescook at chromium.org
Wed Oct 5 21:48:09 PDT 2022


On Wed, Oct 05, 2022 at 11:48:43PM +0200, Jason A. Donenfeld wrote:
> The prandom_bytes() function has been a deprecated inline wrapper around
> get_random_bytes() for several releases now, and compiles down to the
> exact same code. Replace the deprecated wrapper with a direct call to
> the real function.
> 
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>

Global search/replace matches. :)

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the Linux-nvme mailing list