From: Johannes Berg <johannes.berg@xxxxxxxxx> This got backported to 6.1.4. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- backport/backport-include/linux/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backport/backport-include/linux/random.h b/backport/backport-include/linux/random.h index 89e9ce022505..f7a50dbc8dd6 100644 --- a/backport/backport-include/linux/random.h +++ b/backport/backport-include/linux/random.h @@ -10,7 +10,7 @@ static inline u16 get_random_u16(void) } #endif -#if LINUX_VERSION_IS_LESS(6,2,0) +#if LINUX_VERSION_IS_LESS(6,1,4) static inline u32 get_random_u32_below(u32 ceil) { return prandom_u32_max(ceil); -- 2.45.1