2022-10-11 07:30:50

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH v6 5/7] treewide: use get_random_u32() when possible

On 10/11/22 01:06, 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. The same also applies to get_random_int(), which is
> just a wrapper around get_random_u32(). This was done as a basic find
> and replace.
>
> Reviewed-by: Greg Kroah-Hartman <[email protected]>
> Reviewed-by: Kees Cook <[email protected]>
> Reviewed-by: Yury Norov <[email protected]>
> Acked-by: Toke Høiland-Jørgensen <[email protected]> # for sch_cake
> Acked-by: Chuck Lever <[email protected]> # for nfsd
> Reviewed-by: Jan Kara <[email protected]> # for ext4
> Acked-by: Mika Westerberg <[email protected]> # for thunderbolt
> Acked-by: Darrick J. Wong <[email protected]> # for xfs
> Signed-off-by: Jason A. Donenfeld <[email protected]>

Acked-by: Helge Deller <[email protected]> # for parisc


> arch/parisc/kernel/process.c | 2 +-
> arch/parisc/kernel/sys_parisc.c | 4 ++--