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>
Sat, 25 Jun 2022 09:46:37 +0000 (11:46 +0200)
commitcd852448d59e95c913abeb5b95e060a1003e87c9
tree29136dbb3b045113b2418303856af406df768d80
parenteed01a6b3e563bcc6cbe27ab046dc3cd46febd22
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