random: fix typo in add_timer_randomness()
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 7 Jan 2020 21:55:34 +0000 (16:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jan 2020 22:08:13 +0000 (17:08 -0500)
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>
drivers/char/random.c

index 8a0fef08e7885bcdd8492714c6051168b0c3596e..f5c06a39ee72e986ab0425be8c3ebffb1827d02e 100644 (file)
@@ -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));
 }