mm-commits mirror
 help / color / mirror / Atom feed
* [merged mm-hotfixes-stable] kernel-crash_corec-make-__crash_hotplug_lock-static.patch removed from -mm tree
@ 2024-01-12 23:21 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-01-12 23:21 UTC (permalink / raw
  To: mm-commits, lkp, bhe, akpm, akpm


The quilt patch titled
     Subject: kernel/crash_core.c: make __crash_hotplug_lock static
has been removed from the -mm tree.  Its filename was
     kernel-crash_corec-make-__crash_hotplug_lock-static.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: kernel/crash_core.c: make __crash_hotplug_lock static
Date: Tue Jan  9 09:35:21 PM PST 2024

sparse warnings:
kernel/crash_core.c:749:1: sparse: sparse: symbol '__crash_hotplug_lock' was not declared. Should it be static?

Fixes: e2a8f20dd8e9 ("Crash: add lock to serialize crash hotplug handling")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401080654.IjjU5oK7-lkp@intel.com/
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/crash_core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/crash_core.c~kernel-crash_corec-make-__crash_hotplug_lock-static
+++ a/kernel/crash_core.c
@@ -877,7 +877,7 @@ subsys_initcall(crash_notes_memory_init)
  * regions are online. So mutex lock  __crash_hotplug_lock is used to
  * serialize the crash hotplug handling specifically.
  */
-DEFINE_MUTEX(__crash_hotplug_lock);
+static DEFINE_MUTEX(__crash_hotplug_lock);
 #define crash_hotplug_lock() mutex_lock(&__crash_hotplug_lock)
 #define crash_hotplug_unlock() mutex_unlock(&__crash_hotplug_lock)
 
_

Patches currently in -mm which might be from akpm@linux-foundation.org are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-12 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 23:21 [merged mm-hotfixes-stable] kernel-crash_corec-make-__crash_hotplug_lock-static.patch removed from -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).