include/asm-generic/bug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Add parentheses to WARN_ON_ONCE() for consistency.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
include/asm-generic/bug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h
index 6e794420bd39..6dc1c855a2d1 100644
--- a/include/asm-generic/bug.h
+++ b/include/asm-generic/bug.h
@@ -72,7 +72,7 @@ struct bug_entry {
#endif
/*
- * WARN(), WARN_ON(), WARN_ON_ONCE, and so on can be used to report
+ * WARN(), WARN_ON(), WARN_ON_ONCE(), and so on can be used to report
* significant kernel issues that need prompt attention if they should ever
* appear at runtime.
*
--
2.44.0
On 12. Apr 2024, at 15:54, Thorsten Blum <thorsten.blum@toblux.com> wrote: > > Add parentheses to WARN_ON_ONCE() for consistency. Hi Arnd, could you add this trivial patch to your tree? Thanks, Thorsten
On Tue, May 7, 2024, at 12:17, Thorsten Blum wrote: > On 12. Apr 2024, at 15:54, Thorsten Blum <thorsten.blum@toblux.com> wrote: >> >> Add parentheses to WARN_ON_ONCE() for consistency. > > Hi Arnd, > > could you add this trivial patch to your tree? Merged now, I missed this earlier. Arnd
© 2016 - 2026 Red Hat, Inc.