mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
UPSTREAM: 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> (cherry picked from commit 727d499a6f4f29b6abdb635032f5e53e5905aedb) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 148665638 Change-Id: I27aef996d8d4f8b0d99a5476e512f63e327c5c2b
This commit is contained in:
parent
4c2d13d8cc
commit
49cd0d21d7
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue