-
Sven Eckelmann authored
The kernel provides a function to create random values from 0 - (max-1) since commit f337db64 ("random32: add prandom_u32_max and convert open coded users"). Simply use this function to replace code sections which use prandom_u32 and a handcrafted method to map it to the correct range. Signed-off-by: Sven Eckelmann <sven@narfation.org>
26893e7e