diff mbox series

crypto: Fixed optimzation to optimization in the file crypto/xor.c

Message ID 20210203153933.9443-1-unixbhaskar@gmail.com
State New
Headers show
Series crypto: Fixed optimzation to optimization in the file crypto/xor.c | expand

Commit Message

Bhaskar Chowdhury Feb. 3, 2021, 3:39 p.m. UTC
s/optimzation/optimization/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 crypto/xor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.2

Comments

Randy Dunlap Feb. 3, 2021, 4:43 p.m. UTC | #1
On 2/3/21 7:39 AM, Bhaskar Chowdhury wrote:
> 
> s/optimzation/optimization/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  crypto/xor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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();
>  		}
> --
> 2.26.2
>
Herbert Xu Feb. 10, 2021, 7:23 a.m. UTC | #2
On Wed, Feb 03, 2021 at 09:09:33PM +0530, Bhaskar Chowdhury wrote:
> 

> s/optimzation/optimization/

> 

> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

> ---

>  crypto/xor.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

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();
 		}