build: support for Linux 6.1
6.1 commit
de492c83cae0 ("prandom: remove unused functions") removed
prandom_u32, which was replaced and deprecated for get_random_u32 in
5.19
d4150779e60f ("random32: use real rng for non-deterministic
randomness"). get_random_u32 was introduced in 4.11
c440408cf690
("random: convert get_random_int/long into get_random_u32/u64")
Use the cocci script from
81895a65ec63 ("treewide: use prandom_u32_max()
when possible, part 1"), along with a best guess for _max changes, introduced:
3.14
f337db64af05 ("random32: add prandom_u32_max and convert open coded users")