[merged mm-stable] mm-memory-failure-remove-redundant-initialization-for-hw_memory_failure.patch removed from -mm tree
Andrew Morton <[email protected]> Tue, 28 Jul 2026 21:13:00 -0700
| Newsgroups | org.kernel.vger.mm-commits |
|---|---|
| Message-ID | <[email protected]> |
The quilt patch titled
Subject: mm/memory-failure: remove redundant initialization for hw_memory_failure
has been removed from the -mm tree. Its filename was
mm-memory-failure-remove-redundant-initialization-for-hw_memory_failure.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: Igor Putko <[email protected]>
Subject: mm/memory-failure: remove redundant initialization for hw_memory_failure
Date: Tue, 23 Jun 2026 14:47:43 +0300
The static variable 'hw_memory_failure' is implicitly initialized to
false. Remove the explicit initialization to follow the Linux kernel
coding style.
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Igor Putko <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Reviewed-by: Lance Yang <[email protected]>
Acked-by: Miaohe Lin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
mm/memory-failure.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/memory-failure.c~mm-memory-failure-remove-redundant-initialization-for-hw_memory_failure
+++ a/mm/memory-failure.c
@@ -76,7 +76,7 @@ static int sysctl_enable_soft_offline __
atomic_long_t num_poisoned_pages __read_mostly = ATOMIC_LONG_INIT(0);
-static bool hw_memory_failure __read_mostly = false;
+static bool hw_memory_failure __read_mostly;
static DEFINE_MUTEX(mf_mutex);
_
Patches currently in -mm which might be from [email protected] are