Skip to contentSkip to conversation

lib/Kconfig.debug: fix BOOTPARAM_HUNG_TASK_PANIC comment

PATCH Applied Tomas Glozar 2 participants 2 messages Jan 6 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug +1 -1
index ba36939fda79..cda3cf1fa302 100644
@@ -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"
Signature · 1 line
2.52.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Tomas Glozar

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

Quoted 8 lines

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")

---

Thanks!

Quoted 16 lines
  lib/Kconfig.debug | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug +1 -1
index ba36939fda79..cda3cf1fa302 100644
@@ -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"