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

From: Jan Kara
Date: Thu Oct 06 2022 - 12:27:40 EST


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@xxxxxxxxxxxx>
> Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

for the ext4 bits.

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR