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

From: SeongJae Park
Date: Sat Oct 22 2022 - 14:45:26 EST


Hi Jason,

Cc-ing damon@xxxxxxxxxxxxxxx and linux-mm@xxxxxxxxx.

On Fri, 21 Oct 2022 21:43:59 -0400 "Jason A. Donenfeld" <Jason@xxxxxxxxx> 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@xxxxxxxxx>
> ---
[...]
> include/linux/damon.h | 2 +-

For the damon.h part,

Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>


Thanks,
SJ