CONFIG_PANIC_ON_OOPS should be shown if DEBUG_KERNEL
PATCH 1/1 CONFIG_PANIC_ON_OOPS should be shown if DEBUG_KERNEL
CONFIG_EXPERT is a bit silly a place for this, and hides it unnecessarily. CONFIG_DEBUG_KERNEL makes much more sense.
lib/Kconfig.debug +1 -1
@@ -243,7 +243,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE default 1 if BOOTPARAM_SOFTLOCKUP_PANIC config PANIC_ON_OOPS - bool "Panic on Oops" if EXPERT + bool "Panic on Oops" if DEBUG_KERNEL default n help Say Y here to enable the kernel to panic when it oopses. This
Andrew Morton
maintainerQuoted 8 lines · On Tue, 22 Jan 2013 14:21:03 -0500 Kyle McMartin <[email protected]> wrote:
CONFIG_EXPERTis a bit silly a place for this, and hides it unnecessarily.CONFIG_DEBUG_KERNELmakes much more sense.Signed-off-by Kyle McMartin <[email protected]>
lib/Kconfig.debug config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE · line 249
Quoted 8 lines
lib/Kconfig.debug +1
-1@@ -243,7 +243,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE default 1 if BOOTPARAM_SOFTLOCKUP_PANIC config PANIC_ON_OOPS - bool "Panic on Oops" if EXPERT + bool "Panic on Oops" if DEBUG_KERNEL default n help Say Y here to enable the kernel to panic when it oopses. This
hm, I'm not sure that it should depend on anything. Where's the benefit?
Quoted 13 lines · Andrew Morton
Quoted 10 lines · On Tue, 22 Jan 2013 14:21:03 -0500 Kyle McMartin <[email protected]> wrote:
CONFIG_EXPERTis a bit silly a place for this, and hides it unnecessarily.CONFIG_DEBUG_KERNELmakes much more sense.Signed-off-by Kyle McMartin <[email protected]>lib/Kconfig.debug +0
-0@@ -243,7 +243,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE default 1 if BOOTPARAM_SOFTLOCKUP_PANIC
Quoted 8 lines
lib/Kconfig.debug config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE · line 249
Quoted 6 lines
lib/Kconfig.debug +1
-1config PANIC_ON_OOPS - bool "Panic on Oops" if EXPERT + bool "Panic on Oops" if DEBUG_KERNEL default n help Say Y here to enable the kernel to panic when it oopses. Thishm, I'm not sure that it should depend on anything. Where's the benefit?
Agreed.
(The 'default n' is superfuous as well, while at it.)
Thanks,
Ingo
PATCH 1/1 unhide CONFIG_PANIC_ON_OOPS
CONFIG_EXPERT doesn't really make sense, and hides it unintentionally. Remove superfluous "default n" pointed out by Ingo as well.
lib/Kconfig.debug +1 -2
@@ -243,8 +243,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE default 1 if BOOTPARAM_SOFTLOCKUP_PANIC config PANIC_ON_OOPS - bool "Panic on Oops" if EXPERT - default n + bool "Panic on Oops" help Say Y here to enable the kernel to panic when it oopses. This has the same effect as setting oops=panic on the kernel command