* [PATCH] lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment
@ 2026-01-06 14:01 Tomas Glozar
2026-01-06 15:15 ` Lance Yang
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Glozar @ 2026-01-06 14:01 UTC (permalink / raw)
To: Andrew Morton
Cc: LKML, Li RongQing, Lance Yang, Tomas Glozar, Johnny Mnemonic
The comment for CONFIG_BOOTPARAM_HUNG_TASK_PANIC says:
Say N if unsure.
but since commit 9544f9e6947f ("hung_task: panic when there are more than N
hung tasks at the same time"), N is not a valid value for the option,
leading to a warning at build time:
.config:11736:warning: symbol value 'n' invalid for BOOTPARAM_HUNG_TASK_PANIC
as well as an error when given to menuconfig.
Fix the comment to say '0' instead of 'N'.
Fixes: 9544f9e6947f ("hung_task: panic when there are more than N hung tasks at the same time")
Reported-by: Johnny Mnemonic <jm@machine-hall.org>
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index ba36939fda79..cda3cf1fa302 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1273,7 +1273,7 @@ config BOOTPARAM_HUNG_TASK_PANIC
high-availability systems that have uptime guarantees and
where a hung tasks must be resolved ASAP.
- Say N if unsure.
+ Say 0 if unsure.
config DETECT_HUNG_TASK_BLOCKER
bool "Dump Hung Tasks Blocker"
--
2.52.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment
2026-01-06 14:01 [PATCH] lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment Tomas Glozar
@ 2026-01-06 15:15 ` Lance Yang
0 siblings, 0 replies; 2+ messages in thread
From: Lance Yang @ 2026-01-06 15:15 UTC (permalink / raw)
To: Tomas Glozar
Cc: LKML, Li RongQing, Johnny Mnemonic, Andrew Morton, Petr Mladek,
Masami Hiramatsu (Google)
On 2026/1/6 22:01, Tomas Glozar wrote:
> The comment for CONFIG_BOOTPARAM_HUNG_TASK_PANIC says:
>
> Say N if unsure.
>
> but since commit 9544f9e6947f ("hung_task: panic when there are more than N
> hung tasks at the same time"), N is not a valid value for the option,
> leading to a warning at build time:
>
> .config:11736:warning: symbol value 'n' invalid for BOOTPARAM_HUNG_TASK_PANIC
>
> as well as an error when given to menuconfig.
>
> Fix the comment to say '0' instead of 'N'.
>
> Fixes: 9544f9e6947f ("hung_task: panic when there are more than N hung tasks at the same time")
> Reported-by: Johnny Mnemonic <jm@machine-hall.org>
> Signed-off-by: Tomas Glozar <tglozar@redhat.com>
> ---
Thanks!
Reviewed-by: Lance Yang <lance.yang@linux.dev>
> lib/Kconfig.debug | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index ba36939fda79..cda3cf1fa302 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -1273,7 +1273,7 @@ config BOOTPARAM_HUNG_TASK_PANIC
> high-availability systems that have uptime guarantees and
> where a hung tasks must be resolved ASAP.
>
> - Say N if unsure.
> + Say 0 if unsure.
>
> config DETECT_HUNG_TASK_BLOCKER
> bool "Dump Hung Tasks Blocker"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-06 15:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-06 14:01 [PATCH] lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment Tomas Glozar
2026-01-06 15:15 ` Lance Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®