Skip to contentSkip to conversation

random: Add missing words in function comments

PATCH Applied Thorsten Blum 2 participants 2 messages Feb 19, 2025 – Mar 19, 2025 Random number driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 random: Add missing words in function comments

s/good as/as good as/

---
 drivers/char/random.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/char/random.c +2 -2
index 2581186fa61b..b63372af9bce 100644
@@ -427,7 +427,7 @@ static void _get_random_bytes(void *buf, size_t len)
 
 /*
  * This returns random bytes in arbitrary quantities. The quality of the
- * random bytes is good as /dev/urandom. In order to ensure that the
+ * random bytes is as good as /dev/urandom. In order to ensure that the
  * randomness provided by this function is okay, the function
  * wait_for_random_bytes() should be called and return 0 at least once
  * at any point prior.
@@ -490,7 +490,7 @@ static ssize_t get_random_bytes_user(struct iov_iter *iter)
 
 /*
  * Batched entropy returns random integers. The quality of the random
- * number is good as /dev/urandom. In order to ensure that the randomness
+ * number is as good as /dev/urandom. In order to ensure that the randomness
  * provided by this function is okay, the function wait_for_random_bytes()
  * should be called and return 0 at least once at any point prior.
  */
Signature · 1 line
2.48.1
maintainer Applied
#1 lore raw
Quoted 1 line · Thorsten Blum

s/good as/as good as/

Applied, thanks.