public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] random.c: fix a typo in comments
@ 2013-10-07 14:38 Stefan Beller
  2013-10-16  3:36 ` Theodore Ts'o
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Beller @ 2013-10-07 14:38 UTC (permalink / raw)
  To: tytso, linux-kernel; +Cc: Stefan Beller

Also removes (trailing) tabs from an empty line.

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
---
 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 7737b5b..a8457f2 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -382,7 +382,7 @@ static struct poolinfo {
  * modulo the generator polymnomial.  Now, for random primitive polynomials,
  * this is a universal class of hash functions, meaning that the chance
  * of a collision is limited by the attacker's knowledge of the generator
- * polynomail, so if it is chosen at random, an attacker can never force
+ * polynomial, so if it is chosen at random, an attacker can never force
  * a collision.  Here, we use a fixed polynomial, but we *can* assume that
  * ###--> it is unknown to the processes generating the input entropy. <-###
  * Because of this important property, this is a good, collision-resistant
@@ -1078,7 +1078,7 @@ void get_random_bytes_arch(void *buf, int nbytes)
 
 		if (!arch_get_random_long(&v))
 			break;
-		
+
 		memcpy(p, &v, chunk);
 		p += chunk;
 		nbytes -= chunk;
-- 
1.8.4.1.469.gb38b9db


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] random.c: fix a typo in comments
@ 2013-10-13  8:38 Stefan Beller
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Beller @ 2013-10-13  8:38 UTC (permalink / raw)
  To: tytso, linux-kernel, arnd, gregkh; +Cc: Stefan Beller

Also removes (trailing) tabs from an empty line.

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
---
 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 57d4b15..294a59c 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -385,7 +385,7 @@ static struct poolinfo {
  * modulo the generator polymnomial.  Now, for random primitive polynomials,
  * this is a universal class of hash functions, meaning that the chance
  * of a collision is limited by the attacker's knowledge of the generator
- * polynomail, so if it is chosen at random, an attacker can never force
+ * polynomial, so if it is chosen at random, an attacker can never force
  * a collision.  Here, we use a fixed polynomial, but we *can* assume that
  * ###--> it is unknown to the processes generating the input entropy. <-###
  * Because of this important property, this is a good, collision-resistant
@@ -1073,7 +1073,7 @@ void get_random_bytes_arch(void *buf, int nbytes)
 
 		if (!arch_get_random_long(&v))
 			break;
-		
+
 		memcpy(p, &v, chunk);
 		p += chunk;
 		nbytes -= chunk;
-- 
1.8.4.1.471.g53f64e4.dirty


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-16  3:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 14:38 [PATCH] random.c: fix a typo in comments Stefan Beller
2013-10-16  3:36 ` Theodore Ts'o
  -- strict thread matches above, loose matches on Subject: below --
2013-10-13  8:38 Stefan Beller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox