[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260106140140.136446-1-tglozar@redhat.com>
Date: Tue, 6 Jan 2026 15:01:40 +0100
From: Tomas Glozar <tglozar@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Li RongQing <lirongqing@...du.com>,
Lance Yang <lance.yang@...ux.dev>,
Tomas Glozar <tglozar@...hat.com>,
Johnny Mnemonic <jm@...hine-hall.org>
Subject: [PATCH] lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment
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@...hine-hall.org>
Signed-off-by: Tomas Glozar <tglozar@...hat.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
Powered by blists - more mailing lists