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

From
SeongJae Park <sj@kernel.org>
Date
2022-10-22 18:44:53
Also in
damon, linux-arm-kernel, linux-block, linux-crypto, linux-fsdevel, linux-media, linux-mips, linux-mm, linux-mmc, lkml, loongarch, netdev
Reply to
Jason A. Donenfeld, 2022-10-22
Hi Jason,

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

On Fri, 21 Oct 2022 21:43:59 -0400 "Jason A. Donenfeld" [off-list ref] 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@zx2c4.com>
---
[...]
 include/linux/damon.h                         |  2 +-
For the damon.h part,

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


Thanks,
SJ
Thread (17 messages) 17 messages, 7 authors, last reply 2022-10-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help