]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
random: document add_hwgenerator_randomness() with other input functions
authorMark Brown <broonie@kernel.org>
Wed, 1 Dec 2021 17:44:49 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:30 +0000 (11:46 +0200)
commit5cdbdd83c79329c3399aee2776d488988cf9f05f
tree0309ed050f2d664d1ba4f820a6cb9beb39a9a341
parentb44b759b625d4bd8d614da70885c18b282ea20fc
random: document add_hwgenerator_randomness() with other input functions

commit 2b6c6e3d9ce3aa0e547ac25d60e06fe035cd9f79 upstream.

The section at the top of random.c which documents the input functions
available does not document add_hwgenerator_randomness() which might lead
a reader to overlook it. Add a brief note about it.

Signed-off-by: Mark Brown <broonie@kernel.org>
[Jason: reorganize position of function in doc comment and also document
 add_bootloader_randomness() while we're at it.]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c