2024-04-12 13:54:57

by Thorsten Blum

[permalink] [raw]
Subject: [PATCH] bug: Improve comment

Add parentheses to WARN_ON_ONCE() for consistency.

Signed-off-by: Thorsten Blum <[email protected]>
---
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



2024-05-07 12:26:28

by Thorsten Blum

[permalink] [raw]
Subject: Re: [PATCH] bug: Improve comment

On 12. Apr 2024, at 15:54, Thorsten Blum <[email protected]> wrote:
>
> Add parentheses to WARN_ON_ONCE() for consistency.

Hi Arnd,

could you add this trivial patch to your tree?

Thanks,
Thorsten

2024-05-07 12:36:44

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] bug: Improve comment

On Tue, May 7, 2024, at 12:17, Thorsten Blum wrote:
> On 12. Apr 2024, at 15:54, Thorsten Blum <[email protected]> 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