[PATCH v2 1/3] treewide: use get_random_u32_below() instead of deprecated function

Russell King (Oracle) linux at armlinux.org.uk
Tue Nov 15 04:35:12 AEDT 2022


On Mon, Nov 14, 2022 at 05:45:56PM +0100, Jason A. Donenfeld wrote:
> This is a simple mechanical transformation done by:
> 
> @@
> expression E;
> @@
> - prandom_u32_max
> + get_random_u32_below
>   (E)
> 
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Acked-by: Darrick J. Wong <djwong at kernel.org> # for xfs
> Reviewed-by: SeongJae Park <sj at kernel.org> # for damon
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com> # for infiniband
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
> ---
>  arch/arm/kernel/process.c                     |  2 +-

Reviewed-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk> # for arm

Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!


More information about the Linuxppc-dev mailing list