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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 17, 2022 at 09:29:04PM +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@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Darrick J. Wong <djwong@xxxxxxxxxx> # for xfs
> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx> # for damon
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> # for infiniband
> Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> # for arm
> Acked-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx> # for mmc
> Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

-- 
Kees Cook



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux