summaryrefslogtreecommitdiffstats
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-07-30 01:12:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-07-30 01:13:02 +0200
commit7f637be4d46029bd7700c9f244945a42dbd976fa (patch)
tree841e11873ad59dc640f4b29bd81e1361de3ceeea /drivers/char/random.c
parentrandom: handle archrandom with multiple longs (diff)
downloadlinux-7f637be4d46029bd7700c9f244945a42dbd976fa.tar.xz
linux-7f637be4d46029bd7700c9f244945a42dbd976fa.zip
random: correct spelling of "overwrites"
It was missing an 'r'. Fixes: 186873c549df ("random: use simpler fast key erasure flow on per-cpu keys") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 7bf11fa66265..d44832e9e709 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -229,7 +229,7 @@ static void crng_reseed(void)
/*
* This generates a ChaCha block using the provided key, and then
- * immediately overwites that key with half the block. It returns
+ * immediately overwrites that key with half the block. It returns
* the resultant ChaCha state to the user, along with the second
* half of the block containing 32 bytes of random data that may
* be used; random_data_len may not be greater than 32.