panic-remove-config_panic_on_oops_value.patch removed from -mm tree
The quilt patch titled
Subject: panic: remove CONFIG_PANIC_ON_OOPS_VALUE
has been removed from the -mm tree. Its filename was
panic-remove-config_panic_on_oops_value.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Johannes Berg <[email protected]>
Subject: panic: remove CONFIG_PANIC_ON_OOPS_VALUE
Date: Wed, 24 Sep 2025 11:43:04 +0200
There's really no need for this since it's 0 or 1 when CONFIG_PANIC_ON_OOPS is disabled/enabled, so just use IS_ENABLED() instead. The extra symbol goes back to the original code adding it in commit 2a01bb3885c9 ("panic: Make panic_on_oops configurable").
---
kernel/panic.c | 2 +- lib/Kconfig.debug | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-)
kernel/panic.c renamed from kernel/panic.c~panic-remove-config_panic_on_oops_value +1 -1
@@ -53,7 +53,7 @@ static unsigned int __read_mostly sysctl#define sysctl_oops_all_cpu_backtrace 0#endif /* CONFIG_SMP */ -int panic_on_oops =CONFIG_PANIC_ON_OOPS_VALUE ; +int panic_on_oops =IS_ENABLED (CONFIG_PANIC_ON_OOPS );static unsigned long tainted_mask =IS_ENABLED (CONFIG_RANDSTRUCT ) ? (1 <<TAINT_RANDSTRUCT ) :0 ;static int pause_on_oops;
lib/Kconfig.debug renamed from lib/Kconfig.debug~panic-remove-config_panic_on_oops_value +0 -6
@@ -1067,12 +1067,6 @@ config PANIC_ON_OOPS Say N if unsure. -config PANIC_ON_OOPS_VALUE - int - range 0 1 - default 0 if !PANIC_ON_OOPS - default 1 if PANIC_ON_OOPS - config PANIC_TIMEOUT int "panic timeout" default 0
_
Patches currently in -mm which might be from [email protected] are