random: re-add removed comment about get_random_{u32,u64} reseeding
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 23 Mar 2022 04:21:52 +0000 (22:21 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 May 2022 07:27:11 +0000 (09:27 +0200)
commita1baaeff24ffced73cf0de117e8a299cf4bc4623
treef8539b34546cd365a634d5436076ad620c1b6fbf
parent9b1d7b3f0b852ed86cfc1114327c57f7e26f2bde
random: re-add removed comment about get_random_{u32,u64} reseeding

commit dd7aa36e535797926d8eb311da7151919130139d upstream.

The comment about get_random_{u32,u64}() not invoking reseeding got
added in an unrelated commit, that then was recently reverted by
0313bc278dac ("Revert "random: block in /dev/urandom""). So this adds
that little comment snippet back, and improves the wording a bit too.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c