Skip to content

Commit d687772

Browse files
Gustedzx2c4
authored andcommitted
random: fix typos in get_random_bytes() comment
Remove extra whitespace and add a missing word to a sentence describing get_random_bytes(). Signed-off-by: William Zijl <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
1 parent 1227334 commit d687772

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/char/random.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,11 @@ static void _get_random_bytes(void *buf, size_t len)
382382
}
383383

384384
/*
385-
* This function is the exported kernel interface. It returns some
386-
* number of good random numbers, suitable for key generation, seeding
387-
* TCP sequence numbers, etc. In order to ensure that the randomness
388-
* by this function is okay, the function wait_for_random_bytes()
389-
* should be called and return 0 at least once at any point prior.
385+
* This function is the exported kernel interface. It returns some number of
386+
* good random numbers, suitable for key generation, seeding TCP sequence
387+
* numbers, etc. In order to ensure that the randomness returned by this
388+
* function is okay, the function wait_for_random_bytes() should be called and
389+
* return 0 at least once at any point prior.
390390
*/
391391
void get_random_bytes(void *buf, size_t len)
392392
{

0 commit comments

Comments
 (0)