public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h
@ 2026-03-20  7:59 Kai Huang
  2026-03-20 15:30 ` Yury Norov
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Huang @ 2026-03-20  7:59 UTC (permalink / raw)
  To: yury.norov, linux, arnd; +Cc: linux-arch, linux-kernel, Kai Huang

The comment after the '#endif' at the end of the instrumented-atomic.h
is a typo.  The "NON_ATOMIC" part should be "ATOMIC".  Fix it.

Signed-off-by: Kai Huang <kai.huang@intel.com>
---
 include/asm-generic/bitops/instrumented-atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/asm-generic/bitops/instrumented-atomic.h b/include/asm-generic/bitops/instrumented-atomic.h
index 4225a8ca9c1a..c010d54275e4 100644
--- a/include/asm-generic/bitops/instrumented-atomic.h
+++ b/include/asm-generic/bitops/instrumented-atomic.h
@@ -100,4 +100,4 @@ static __always_inline bool test_and_change_bit(long nr, volatile unsigned long
 	return arch_test_and_change_bit(nr, addr);
 }
 
-#endif /* _ASM_GENERIC_BITOPS_INSTRUMENTED_NON_ATOMIC_H */
+#endif /* _ASM_GENERIC_BITOPS_INSTRUMENTED_ATOMIC_H */

base-commit: 0e4f8f1a3d081e834be5fd0a62bdb2554fadd307
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h
  2026-03-20  7:59 [PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h Kai Huang
@ 2026-03-20 15:30 ` Yury Norov
  0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2026-03-20 15:30 UTC (permalink / raw)
  To: Kai Huang; +Cc: yury.norov, linux, arnd, linux-arch, linux-kernel

On Fri, Mar 20, 2026 at 08:59:38PM +1300, Kai Huang wrote:
> The comment after the '#endif' at the end of the instrumented-atomic.h
> is a typo.  The "NON_ATOMIC" part should be "ATOMIC".  Fix it.
> 
> Signed-off-by: Kai Huang <kai.huang@intel.com>

Applied, thanks!

> ---
>  include/asm-generic/bitops/instrumented-atomic.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/asm-generic/bitops/instrumented-atomic.h b/include/asm-generic/bitops/instrumented-atomic.h
> index 4225a8ca9c1a..c010d54275e4 100644
> --- a/include/asm-generic/bitops/instrumented-atomic.h
> +++ b/include/asm-generic/bitops/instrumented-atomic.h
> @@ -100,4 +100,4 @@ static __always_inline bool test_and_change_bit(long nr, volatile unsigned long
>  	return arch_test_and_change_bit(nr, addr);
>  }
>  
> -#endif /* _ASM_GENERIC_BITOPS_INSTRUMENTED_NON_ATOMIC_H */
> +#endif /* _ASM_GENERIC_BITOPS_INSTRUMENTED_ATOMIC_H */
> 
> base-commit: 0e4f8f1a3d081e834be5fd0a62bdb2554fadd307
> -- 
> 2.53.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-20 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20  7:59 [PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h Kai Huang
2026-03-20 15:30 ` Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox