mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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 <postmaster@gusted.xyz> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
1227334713
commit
d687772e6d
@ -382,11 +382,11 @@ static void _get_random_bytes(void *buf, size_t len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function is the exported kernel interface. It returns some
|
* This function is the exported kernel interface. It returns some number of
|
||||||
* number of good random numbers, suitable for key generation, seeding
|
* good random numbers, suitable for key generation, seeding TCP sequence
|
||||||
* TCP sequence numbers, etc. In order to ensure that the randomness
|
* numbers, etc. In order to ensure that the randomness returned by this
|
||||||
* by this function is okay, the function wait_for_random_bytes()
|
* function is okay, the function wait_for_random_bytes() should be called and
|
||||||
* should be called and return 0 at least once at any point prior.
|
* return 0 at least once at any point prior.
|
||||||
*/
|
*/
|
||||||
void get_random_bytes(void *buf, size_t len)
|
void get_random_bytes(void *buf, size_t len)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user