random: fix typos in get_random_bytes() comment
authorWilliam Zijl <postmaster@gusted.xyz>
Sat, 1 Oct 2022 15:36:21 +0000 (17:36 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 1 Oct 2022 21:37:51 +0000 (23:37 +0200)
Remove extra whitespace and add a missing word to a sentence describing
get_random_bytes().

Signed-off-by: William Zijl <postmaster@gusted.xyz>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c

index fdf15f5c87dd076482a9590ea3a7119d61baed26..a007e3dad80f01970089eef576a4f32e801f67fa 100644 (file)
@@ -382,11 +382,11 @@ static void _get_random_bytes(void *buf, size_t len)
 }
 
 /*
- * This function is the exported kernel interface.  It returns some
- * number of good random numbers, suitable for key generation, seeding
- * TCP sequence numbers, etc. In order to ensure that the randomness
- * by this function is okay, the function wait_for_random_bytes()
- * should be called and return 0 at least once at any point prior.
+ * This function is the exported kernel interface. It returns some number of
+ * good random numbers, suitable for key generation, seeding TCP sequence
+ * numbers, etc. In order to ensure that the randomness returned by this
+ * function is okay, the function wait_for_random_bytes() should be called and
+ * return 0 at least once at any point prior.
  */
 void get_random_bytes(void *buf, size_t len)
 {