From: Bhaskar Chowdhury unixbhaskar@gmail.com
mainline inclusion from mainline-v5.12-rc1 commit cfb28fde083761bfb839bc53059068bab5634b6a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB0D87
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=...
----------------------------------------------------------------------
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 Signed-off-by: Chen Ridong chenridong@huawei.com --- crypto/xor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/xor.c b/crypto/xor.c index 8f899f898ec9..8e72e5d5db0d 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(); }