[PATCH] bug: Improve comment

Thorsten Blum posted 1 patch 1 year, 10 months ago
include/asm-generic/bug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] bug: Improve comment
Posted by Thorsten Blum 1 year, 10 months ago
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
Re: [PATCH] bug: Improve comment
Posted by Thorsten Blum 1 year, 9 months ago
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
Re: [PATCH] bug: Improve comment
Posted by Arnd Bergmann 1 year, 9 months ago
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