Thread (17 messages) 17 messages, 7 authors, 2022-10-24

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, linuxppc-dev, lkml, loongarch

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help