2020-10-06 03:32:39

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] arc: include/asm: fix typos of "themselves"

From: Randy Dunlap <[email protected]>

Fix copy/paste spello of "themselves" in 3 places.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: [email protected]
---
arch/arc/include/asm/atomic.h | 4 ++--
arch/arc/include/asm/cmpxchg.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

--- lnx-59-rc7.orig/arch/arc/include/asm/atomic.h
+++ lnx-59-rc7/arch/arc/include/asm/atomic.h
@@ -45,7 +45,7 @@ static inline int atomic_##op##_return(i
\
/* \
* Explicit full memory barrier needed before/after as \
- * LLOCK/SCOND thmeselves don't provide any such semantics \
+ * LLOCK/SCOND themselves don't provide any such semantics \
*/ \
smp_mb(); \
\
@@ -71,7 +71,7 @@ static inline int atomic_fetch_##op(int
\
/* \
* Explicit full memory barrier needed before/after as \
- * LLOCK/SCOND thmeselves don't provide any such semantics \
+ * LLOCK/SCOND themselves don't provide any such semantics \
*/ \
smp_mb(); \
\
--- lnx-59-rc7.orig/arch/arc/include/asm/cmpxchg.h
+++ lnx-59-rc7/arch/arc/include/asm/cmpxchg.h
@@ -20,7 +20,7 @@ __cmpxchg(volatile void *ptr, unsigned l

/*
* Explicit full memory barrier needed before/after as
- * LLOCK/SCOND thmeselves don't provide any such semantics
+ * LLOCK/SCOND themselves don't provide any such semantics
*/
smp_mb();



2020-10-06 04:11:26

by Vineet Gupta

[permalink] [raw]
Subject: Re: [PATCH] arc: include/asm: fix typos of "themselves"

On 10/5/20 8:30 PM, Randy Dunlap wrote:
> From: Randy Dunlap <[email protected]>
>
> Fix copy/paste spello of "themselves" in 3 places.
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Vineet Gupta <[email protected]>
> Cc: [email protected]

Thx for the fix Randy. Added to for-curr.
-Vineet

> ---
> arch/arc/include/asm/atomic.h | 4 ++--
> arch/arc/include/asm/cmpxchg.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> --- lnx-59-rc7.orig/arch/arc/include/asm/atomic.h
> +++ lnx-59-rc7/arch/arc/include/asm/atomic.h
> @@ -45,7 +45,7 @@ static inline int atomic_##op##_return(i
> \
> /* \
> * Explicit full memory barrier needed before/after as \
> - * LLOCK/SCOND thmeselves don't provide any such semantics \
> + * LLOCK/SCOND themselves don't provide any such semantics \
> */ \
> smp_mb(); \
> \
> @@ -71,7 +71,7 @@ static inline int atomic_fetch_##op(int
> \
> /* \
> * Explicit full memory barrier needed before/after as \
> - * LLOCK/SCOND thmeselves don't provide any such semantics \
> + * LLOCK/SCOND themselves don't provide any such semantics \
> */ \
> smp_mb(); \
> \
> --- lnx-59-rc7.orig/arch/arc/include/asm/cmpxchg.h
> +++ lnx-59-rc7/arch/arc/include/asm/cmpxchg.h
> @@ -20,7 +20,7 @@ __cmpxchg(volatile void *ptr, unsigned l
>
> /*
> * Explicit full memory barrier needed before/after as
> - * LLOCK/SCOND thmeselves don't provide any such semantics
> + * LLOCK/SCOND themselves don't provide any such semantics
> */
> smp_mb();
>
>
>