]> git.itanic.dy.fi Git - linux-stable/commit
prandom: remove prandom_u32_max()
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 10 Oct 2022 02:45:07 +0000 (20:45 -0600)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 20 Dec 2022 02:13:45 +0000 (03:13 +0100)
commit3c202d14a9d73fb63c3dccb18feac5618c21e1c4
tree53cdfe8283a913521cb567dc12872e2fd820ca52
parent41a15855c1ee390a0ae9d0c29d32b451dd30a600
prandom: remove prandom_u32_max()

Convert the final two users of prandom_u32_max() that slipped in during
6.2-rc1 to use get_random_u32_below().

Then, with no more users left, we can finally remove the deprecated
function.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
arch/x86/mm/cpu_entry_area.c
include/linux/prandom.h
net/ipv4/tcp_plb.c