* [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c
@ 2021-02-03 15:39 Bhaskar Chowdhury
2021-02-03 16:43 ` Randy Dunlap
2021-02-10 7:23 ` Herbert Xu
0 siblings, 2 replies; 3+ messages in thread
From: Bhaskar Chowdhury @ 2021-02-03 15:39 UTC (permalink / raw)
To: herbert, davem, linux-crypto, linux-kernel; +Cc: rdunlap, Bhaskar Chowdhury
s/optimzation/optimization/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c
2021-02-03 15:39 [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c Bhaskar Chowdhury
@ 2021-02-03 16:43 ` Randy Dunlap
2021-02-10 7:23 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-02-03 16:43 UTC (permalink / raw)
To: Bhaskar Chowdhury, herbert, davem, linux-crypto, linux-kernel
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
>
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c
2021-02-03 15:39 [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c Bhaskar Chowdhury
2021-02-03 16:43 ` Randy Dunlap
@ 2021-02-10 7:23 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2021-02-10 7:23 UTC (permalink / raw)
To: Bhaskar Chowdhury; +Cc: davem, linux-crypto, linux-kernel, rdunlap
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-10 7:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 15:39 [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c Bhaskar Chowdhury
2021-02-03 16:43 ` Randy Dunlap
2021-02-10 7:23 ` Herbert Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.