[PATCH v1 1/5] treewide: use get_random_u32_below() instead of deprecated function

SeongJae Park sj at kernel.org
Sun Oct 23 05:44:36 AEDT 2022


Hi Jason,

Cc-ing damon at lists.linux.dev and linux-mm at kvack.org.

On Fri, 21 Oct 2022 21:43:59 -0400 "Jason A. Donenfeld" <Jason at zx2c4.com> wrote:

> This is a simple mechanical transformation done by:
> 
> @@
> expression E;
> @@
> - prandom_u32_max(E)
> + get_random_u32_below(E)
> 
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
> ---
[...]
>  include/linux/damon.h                         |  2 +-

For the damon.h part,

Reviewed-by: SeongJae Park <sj at kernel.org>


Thanks,
SJ


More information about the Linuxppc-dev mailing list