Skip to contentSkip to conversation

mm-nobootmemc-mark-function-as-static.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014 Memory management

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-nobootmemc-mark-function-as-static.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:31:48 -0700

The patch titled
Subject: mm/nobootmem.c: mark function as static
has been removed from the -mm tree. Its filename was
mm-nobootmemc-mark-function-as-static.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Rashika Kheria <[email protected]>
Subject: mm/nobootmem.c: mark function as static

Mark function as static in nobootmem.c because it is not used outside this file.

This eliminates the following warning in mm/nobootmem.c:
mm/nobootmem.c:324:15: warning: no previous prototype for `___alloc_bootmem_node' [-Wmissing-prototypes]

---

 mm/nobootmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/nobootmem.c renamed from mm/nobootmem.c~mm-nobootmemc-mark-function-as-static +1 -1
diff -puN mm/nobootmem.c~mm-nobootmemc-mark-function-as-static mm/nobootmem.c
@@ -334,7 +334,7 @@ void * __init __alloc_bootmem_node_nopan
 	return ___alloc_bootmem_node_nopanic(pgdat, size, align, goal, 0);
 }
 
-void * __init ___alloc_bootmem_node(pg_data_t *pgdat, unsigned long size,
+static void * __init ___alloc_bootmem_node(pg_data_t *pgdat, unsigned long size,
 				    unsigned long align, unsigned long goal,
 				    unsigned long limit)
 {

_

Patches currently in -mm which might be from [email protected] are

origin.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype.patch include-linux-crash_dumph-add-vmcore_cleanup-prototype-fix.patch linux-next.patch