Skip to contentSkip to conversation

mm-memory-failure-remove-redundant-initialization-for-hw_memory_failure.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 29

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

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.

---

 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-remove-redundant-initialization-for-hw_memory_failure +1 -1
@@ -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