summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-11-29 14:58:06 -0500
committerTheodore Ts'o <tytso@mit.edu>2014-03-19 22:18:50 -0400
commitdfd38750db3cc17a1da3405389a81b430720c2c6 (patch)
treedf11e100df827cdf5f2faabaefef85d1a7c6d6a2
parentb28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff)
downloadlwn-dfd38750db3cc17a1da3405389a81b430720c2c6.tar.gz
lwn-dfd38750db3cc17a1da3405389a81b430720c2c6.zip
random: fix typos / spelling errors in comments
Signed-off-by: Greg Price <price@mit.edu> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--drivers/char/random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 429b75bb60e8..b8e44e25bc36 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -305,7 +305,7 @@ static int random_read_wakeup_thresh = 64;
static int random_write_wakeup_thresh = 28 * OUTPUT_POOL_WORDS;
/*
- * The minimum number of seconds between urandom pool resending. We
+ * The minimum number of seconds between urandom pool reseeding. We
* do this to limit the amount of entropy that can be drained from the
* input pool even if there are heavy demands on /dev/urandom.
*/
@@ -322,7 +322,7 @@ static int random_min_urandom_seed = 60;
* Register. (See M. Matsumoto & Y. Kurita, 1992. Twisted GFSR
* generators. ACM Transactions on Modeling and Computer Simulation
* 2(3):179-194. Also see M. Matsumoto & Y. Kurita, 1994. Twisted
- * GFSR generators II. ACM Transactions on Mdeling and Computer
+ * GFSR generators II. ACM Transactions on Modeling and Computer
* Simulation 4:254-266)
*
* Thanks to Colin Plumb for suggesting this.
@@ -1036,7 +1036,7 @@ static void extract_buf(struct entropy_store *r, __u8 *out)
sha_transform(hash.w, (__u8 *)(r->pool + i), workspace);
/*
- * If we have a architectural hardware random number
+ * If we have an architectural hardware random number
* generator, mix that in, too.
*/
for (i = 0; i < LONGS(20); i++) {