summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2020-01-07 16:55:34 -0500
committerTheodore Ts'o <tytso@mit.edu>2020-01-07 17:08:13 -0500
commit727d499a6f4f29b6abdb635032f5e53e5905aedb (patch)
tree0ae4393c171c8476f14606e62393e3ddc64f0d1b /drivers/char
parent12cd53aff5ea0359b1dac91fcd9ddc7b9e646588 (diff)
downloadlinux-727d499a6f4f29b6abdb635032f5e53e5905aedb.tar.bz2
random: fix typo in add_timer_randomness()
s/entimate/estimate Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Link: https://lore.kernel.org/r/20190607182517.28266-4-tiny.windzz@gmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 8a0fef08e788..f5c06a39ee72 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1195,7 +1195,7 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
/*
* delta is now minimum absolute delta.
* Round down by 1 bit on general principles,
- * and limit entropy entimate to 12 bits.
+ * and limit entropy estimate to 12 bits.
*/
credit_entropy_bits(r, min_t(int, fls(delta>>1), 11));
}