mm-memory-failure-directly-use-is_enabledconfig_hwpoison_inject.patch removed from -mm tree
The quilt patch titled
Subject: mm: memory-failure: directly use IS_ENABLED(CONFIG_HWPOISON_INJECT)
has been removed from the -mm tree. Its filename was
mm-memory-failure-directly-use-is_enabledconfig_hwpoison_inject.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Kefeng Wang <[email protected]>
Subject: mm: memory-failure: directly use IS_ENABLED(CONFIG_HWPOISON_INJECT)
Date: Mon, 13 Mar 2023 13:39:29 +0800
It's more clear and simple to just use IS_ENABLED(CONFIG_HWPOISON_INJECT) to check whether or not to enable HWPoison injector module instead of CONFIG_HWPOISON_INJECT/CONFIG_HWPOISON_INJECT_MODULE.
---
mm/memory-failure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-memory-failure-directly-use-is_enabledconfig_hwpoison_inject +1 -1
@@ -168,7 +168,7 @@ static bool page_handle_poison(struct pareturn true; } -#if defined(CONFIG_HWPOISON_INJECT ) || defined(CONFIG_HWPOISON_INJECT_MODULE ) +#if IS_ENABLED (CONFIG_HWPOISON_INJECT )u32 hwpoison_filter_enable =0 ;u32 hwpoison_filter_dev_major = ~0U ;
_
Patches currently in -mm which might be from [email protected] are