[PATCH v2 3/5] treewide: use get_random_u32() when possible

Jan Kara jack at suse.cz
Thu Oct 6 09:25:46 PDT 2022


On Thu 06-10-22 07:25:08, Jason A. Donenfeld wrote:
> The prandom_u32() function has been a deprecated inline wrapper around
> get_random_u32() for several releases now, and compiles down to the
> exact same code. Replace the deprecated wrapper with a direct call to
> the real function.
> 
> Reviewed-by: Kees Cook <keescook at chromium.org>
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack at suse.cz>

for the ext4 bits.

								Honza
-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR



More information about the Linux-nvme mailing list