[PATCH] random: Add missing words in function comments

Thorsten Blum posted 1 patch 10 months ago
drivers/char/random.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] random: Add missing words in function comments
Posted by Thorsten Blum 10 months ago
s/good as/as good as/

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 drivers/char/random.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/random.c b/drivers/char/random.c
index 2581186fa61b..b63372af9bce 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -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.
  */
-- 
2.48.1
Re: [PATCH] random: Add missing words in function comments
Posted by Jason A. Donenfeld 9 months ago
On Wed, Feb 19, 2025 at 10:00:31PM +0100, Thorsten Blum wrote:
> s/good as/as good as/
 
Applied, thanks.