Skip to contentSkip to conversation

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

PATCH Applied Kai Huang 2 participants 2 messages Mar 20

Subsystems (2)
lore
Share & tools
lore

Kai Huang

author
#0 lore raw

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

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.

---
 include/asm-generic/bitops/instrumented-atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/asm-generic/bitops/instrumented-atomic.h +1 -1
index 4225a8ca9c1a..c010d54275e4 100644
@@ -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

Signature · 1 line
2.53.0
Applied
#1 lore raw
Quoted 4 lines · 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.

Applied, thanks!

Quoted 18 lines
---
 include/asm-generic/bitops/instrumented-atomic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/asm-generic/bitops/instrumented-atomic.h +1 -1
index 4225a8ca9c1a..c010d54275e4 100644
@@ -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

Signature · 1 line
2.53.0