summaryrefslogtreecommitdiff
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-11-29 03:55:11 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-11-29 17:42:23 +0300
commit0e42d14be23f4cdb68a06ea40106eccf7db0b4bc (patch)
tree922a0ffc95d91310fe9fd3d616b3c4974f6785cb /drivers/char/random.c
parente7b813b32a42a3a6281a4fd9ae7700a0257c1d50 (diff)
downloadlinux-0e42d14be23f4cdb68a06ea40106eccf7db0b4bc.tar.xz
random: remove extraneous period and add a missing one in comments
Just some trivial typo fixes, and reflowing of lines. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index a2a18bd3d7d7..7b71cea6a6ab 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1236,15 +1236,13 @@ struct entropy_timer_state {
};
/*
- * Each time the timer fires, we expect that we got an unpredictable
- * jump in the cycle counter. Even if the timer is running on another
- * CPU, the timer activity will be touching the stack of the CPU that is
- * generating entropy..
+ * Each time the timer fires, we expect that we got an unpredictable jump in
+ * the cycle counter. Even if the timer is running on another CPU, the timer
+ * activity will be touching the stack of the CPU that is generating entropy.
*
- * Note that we don't re-arm the timer in the timer itself - we are
- * happy to be scheduled away, since that just makes the load more
- * complex, but we do not want the timer to keep ticking unless the
- * entropy loop is running.
+ * Note that we don't re-arm the timer in the timer itself - we are happy to be
+ * scheduled away, since that just makes the load more complex, but we do not
+ * want the timer to keep ticking unless the entropy loop is running.
*
* So the re-arming always happens in the entropy loop itself.
*/
@@ -1259,8 +1257,8 @@ static void __cold entropy_timer(struct timer_list *timer)
}
/*
- * If we have an actual cycle counter, see if we can
- * generate enough entropy with timing noise
+ * If we have an actual cycle counter, see if we can generate enough entropy
+ * with timing noise.
*/
static void __cold try_to_generate_entropy(void)
{