summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorBhaskar Chowdhury <unixbhaskar@gmail.com>2021-02-03 16:39:33 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 07:55:58 +0100
commitcfb28fde083761bfb839bc53059068bab5634b6a (patch)
tree8f302855fd979b1e03de50fbe4ff70e3ed32843e /crypto/xor.c
parenthwrng: optee - Use device-managed registration API (diff)
downloadlinux-cfb28fde083761bfb839bc53059068bab5634b6a.tar.xz
linux-cfb28fde083761bfb839bc53059068bab5634b6a.zip
crypto: xor - Fix typo of optimization
s/optimzation/optimization/ Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xor.c')
-rw-r--r--crypto/xor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/xor.c b/crypto/xor.c
index eacbf4f93990..c046d074f522 100644
--- a/crypto/xor.c
+++ b/crypto/xor.c
@@ -95,7 +95,7 @@ do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)
for (i = 0; i < 3; i++) {
start = ktime_get();
for (j = 0; j < REPS; j++) {
- mb(); /* prevent loop optimzation */
+ mb(); /* prevent loop optimization */
tmpl->do_2(BENCH_SIZE, b1, b2);
mb();
}