summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhaskar Chowdhury <unixbhaskar@gmail.com>2021-02-03 18:39:33 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 09:55:58 +0300
commitcfb28fde083761bfb839bc53059068bab5634b6a (patch)
tree8f302855fd979b1e03de50fbe4ff70e3ed32843e
parent14ab6de485dddbb414057417831b2491fe2a8729 (diff)
downloadlinux-cfb28fde083761bfb839bc53059068bab5634b6a.tar.xz
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>
-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();
}