]> 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:49:00 +0000 (11:49 +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 4271fc6382c202a85a054b3ce01eb29fe88b43c2..e38d7017e8ce01ad9876efeb129c96003c9743e2 100644 (file)
@@ -1214,7 +1214,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));
 }