mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] initramfs-panic-with-memory-information-fix.patch removed from -mm tree
@ 2021-02-26  0:51 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-02-26  0:51 UTC (permalink / raw)
  To: akpm, arnd, brho, f.fainelli, mm-commits


The patch titled
     Subject: initramfs-panic-with-memory-information-fix
has been removed from the -mm tree.  Its filename was
     initramfs-panic-with-memory-information-fix.patch

This patch was dropped because it was folded into initramfs-panic-with-memory-information.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: initramfs-panic-with-memory-information-fix

replace macro with C function

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Barret Rhoden <brho@google.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 init/initramfs.c |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

--- a/init/initramfs.c~initramfs-panic-with-memory-information-fix
+++ a/init/initramfs.c
@@ -46,9 +46,14 @@ static void __init error(char *x)
 		message = x;
 }
 
-#define panic_show_mem(...) {	\
-	show_mem(0, NULL);	\
-	panic(__VA_ARGS__);	\
+static void panic_show_mem(const char *fmt, ...)
+{
+	va_list args;
+
+	show_mem(0, NULL);
+	va_start(args, fmt);
+	panic(fmt, args);
+	va_end(args);
 }
 
 /* link hash */
_

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

initramfs-panic-with-memory-information.patch
mm-page_allocc-refactor-initialization-of-struct-page-for-holes-in-memory-layout-fix.patch
mm.patch
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
kernel-forkc-export-kernel_thread-to-modules.patch


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

only message in thread, other threads:[~2021-02-26  0:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26  0:51 [folded-merged] initramfs-panic-with-memory-information-fix.patch removed from -mm tree akpm

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 NNTP newsgroup(s).