On Mon, Oct 10, 2022 at 05:06:07PM -0600, Jason A. Donenfeld wrote: > Rather than incurring a division or requesting too many random bytes for > the given range, use the prandom_u32_max() function, which only takes > the minimum required bytes from the RNG and avoids divisions. This was ... > Reviewed-by: Greg Kroah-Hartman <[email protected]> > Reviewed-by: Kees Cook <[email protected]> > Reviewed-by: Yury Norov <[email protected]> > Reviewed-by: KP Singh <[email protected]> > Reviewed-by: Jan Kara <[email protected]> # for ext4 and sbitmap > Reviewed-by: Christoph Böhmwalder <[email protected]> # for > drbd > Acked-by: Ulf Hansson <[email protected]> # for mmc > Acked-by: Darrick J. Wong <[email protected]> # for xfs > Signed-off-by: Jason A. Donenfeld <[email protected]> > --- > arch/s390/kernel/process.c | 2 +- > arch/s390/kernel/vdso.c | 2 +-
For s390: Acked-by: Heiko Carstens <[email protected]>
