summaryrefslogtreecommitdiff
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-11-01 22:08:32 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-11-18 04:18:10 +0300
commitb240bab51888d5c8e389dc179d7c67a869587148 (patch)
treea70f0e7b9669eec326aa7a69f2fdd7ae283f300d /drivers/char/random.c
parent2c03e16f44993d45f064580adb0eb408b513ad72 (diff)
downloadlinux-b240bab51888d5c8e389dc179d7c67a869587148.tar.xz
random: adjust comment to account for removed function
Since de492c83cae0 ("prandom: remove unused functions"), get_random_int() no longer exists, so remove its reference from this comment. Fixes: de492c83cae0 ("prandom: remove unused functions") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 49dee3dcc3c4..e5e66e8fc118 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -120,7 +120,7 @@ static void try_to_generate_entropy(void);
* Wait for the input pool to be seeded and thus guaranteed to supply
* cryptographically secure random numbers. This applies to: the /dev/urandom
* device, the get_random_bytes function, and the get_random_{u8,u16,u32,u64,
- * int,long} family of functions. Using any of these functions without first
+ * long} family of functions. Using any of these functions without first
* calling this function forfeits the guarantee of security.
*
* Returns: 0 if the input pool has been seeded.