]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
random: fix typo in add_timer_randomness()
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 7 Jan 2020 21:55:34 +0000 (16:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:28 +0000 (11:46 +0200)
commit 727d499a6f4f29b6abdb635032f5e53e5905aedb upstream.

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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c

index 23e0795060d3ebca23d18f669ef127e9ab162559..cd90e64e6f126d80f5399facc7ac342d4ca3e133 100644 (file)
@@ -1211,7 +1211,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));
 }