projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12cd53a
)
random: fix typo in add_timer_randomness()
author
Yangtao Li
<tiny.windzz@gmail.com>
Tue, 7 Jan 2020 21:55:34 +0000
(16:55 -0500)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/drivers/char/random.c
b/drivers/char/random.c
index 8a0fef08e7885bcdd8492714c6051168b0c3596e..f5c06a39ee72e986ab0425be8c3ebffb1827d02e 100644
(file)
--- 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 e
n
timate to 12 bits.
+ * and limit entropy e
s
timate to 12 bits.
*/
credit_entropy_bits(r, min_t(int, fls(delta>>1), 11));
}