[PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h

Kai Huang posted 1 patch 2 weeks ago
include/asm-generic/bitops/instrumented-atomic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h
Posted by Kai Huang 2 weeks ago
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
Re: [PATCH] asm-generic/bitops: Fix a comment typo in instrumented-atomic.h
Posted by Yury Norov 2 weeks ago
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