All of lore.kernel.org
 help / color / mirror / Atom feed
* + pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2.patch added to mm-unstable branch
@ 2022-08-31 20:49 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-08-31 20:49 UTC (permalink / raw)
  To: mm-commits, mhocko, akpm


The patch titled
     Subject: pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2
has been added to the -mm mm-unstable branch.  Its filename is
     pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Michal Hocko <mhocko@suse.com>
Subject: pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2
Date: Wed, 31 Aug 2022 09:58:35 +0200

fix build


lib/show_mem.c: In function '__show_mem':
lib/show_mem.c:17:9: error: too many arguments to function 'show_free_areas'
   17 |         show_free_areas(filter, nodemask, max_zone_idx);
      |         ^~~~~~~~~~~~~~~
In file included from lib/show_mem.c:8:
./include/linux/mm.h:1842:28: note: declared here
 1842 | static void __maybe_unused show_free_areas(unsigned int flags, nodemask_t *nodemask)

Link: https://lkml.kernel.org/r/Yw8Uq5rF19qVUQH+@dhcp22.suse.cz

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/show_mem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/show_mem.c~pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2
+++ a/lib/show_mem.c
@@ -14,7 +14,7 @@ void __show_mem(unsigned int filter, nod
 	unsigned long total = 0, reserved = 0, highmem = 0;
 
 	printk("Mem-Info:\n");
-	show_free_areas(filter, nodemask, max_zone_idx);
+	__show_free_areas(filter, nodemask, max_zone_idx);
 
 	for_each_online_pgdat(pgdat) {
 		int zoneid;
_

Patches currently in -mm which might be from mhocko@suse.com are

mm-reduce-noise-in-show_mem-for-lowmem-allocations.patch
mm-reduce-noise-in-show_mem-for-lowmem-allocations-update.patch
pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2.patch


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

only message in thread, other threads:[~2022-08-31 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 20:49 + pc-mm-reduce-noise-in-show_mem-for-lowmem-allocations-update-fix-2.patch added to mm-unstable branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.