crypto: xor - Fix typo of optimization
authorBhaskar Chowdhury <unixbhaskar@gmail.com>
Wed, 3 Feb 2021 15:39:33 +0000 (21:09 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Feb 2021 06:55:58 +0000 (17:55 +1100)
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>
crypto/xor.c

index eacbf4f939900fe4f280f053c5ee1ac45a75a0c2..c046d074f52209c2aaf20791e41bbedc492c2952 100644 (file)
@@ -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();
                }