All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/9] mm: Mark function as static in compaction.c
@ 2014-02-07 12:01 ` Rashika Kheria
  0 siblings, 0 replies; 68+ messages in thread
From: Rashika Kheria @ 2014-02-07 12:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, Mel Gorman, David Rientjes, Rik van Riel,
	Minchan Kim, linux-mm, josh

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

This eliminates the following warning from mm/compaction.c:
mm/compaction.c:1190:9: warning: no previous prototype for ‘sysfs_compact_node’ [-Wmissing-prototypes

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
---
 mm/compaction.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/compaction.c b/mm/compaction.c
index 805165b..a21f540 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -1187,7 +1187,7 @@ int sysctl_extfrag_handler(struct ctl_table *table, int write,
 }
 
 #if defined(CONFIG_SYSFS) && defined(CONFIG_NUMA)
-ssize_t sysfs_compact_node(struct device *dev,
+static ssize_t sysfs_compact_node(struct device *dev,
 			struct device_attribute *attr,
 			const char *buf, size_t count)
 {
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2014-02-10  8:23 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 12:01 [PATCH 1/9] mm: Mark function as static in compaction.c Rashika Kheria
2014-02-07 12:01 ` Rashika Kheria
2014-02-07 12:03 ` [PATCH 2/9] mm: Mark functions as static in memory.c Rashika Kheria
2014-02-07 12:03   ` Rashika Kheria
2014-02-07 13:03   ` Rik van Riel
2014-02-07 13:03     ` Rik van Riel
2014-02-07 20:47   ` David Rientjes
2014-02-07 20:47     ` David Rientjes
2014-02-07 12:04 ` [PATCH 3/9] mm: Mark function as static in mmap.c Rashika Kheria
2014-02-07 12:04   ` Rashika Kheria
2014-02-07 13:16   ` Rik van Riel
2014-02-07 13:16     ` Rik van Riel
2014-02-07 20:47   ` David Rientjes
2014-02-07 20:47     ` David Rientjes
2014-02-07 12:07 ` [PATCH 4/9] mm: Mark function as static in process_vm_access.c Rashika Kheria
2014-02-07 12:07   ` Rashika Kheria
2014-02-07 20:49   ` David Rientjes
2014-02-07 20:49     ` David Rientjes
2014-02-07 12:08 ` [PATCH 5/9] mm: Mark functions as static in migrate.c Rashika Kheria
2014-02-07 12:08   ` Rashika Kheria
2014-02-07 13:16   ` Rik van Riel
2014-02-07 13:16     ` Rik van Riel
2014-02-07 20:49   ` David Rientjes
2014-02-07 20:49     ` David Rientjes
2014-02-07 12:10 ` [PATCH 6/9] mm: Mark function as static in memcontrol.c Rashika Kheria
2014-02-07 12:10   ` Rashika Kheria
2014-02-07 12:10   ` Rashika Kheria
2014-02-07 20:55   ` David Rientjes
2014-02-07 20:55     ` David Rientjes
2014-02-07 20:55     ` David Rientjes
     [not found] ` <a7658fc8f2ab015bffe83de1448cc3db79d2a9fc.1391167128.git.rashika.kheria-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-02-07 12:11   ` [PATCH 7/9] mm: Mark functions as static in page_cgroup.c Rashika Kheria
2014-02-07 12:11 ` Rashika Kheria
2014-02-07 12:11   ` Rashika Kheria
2014-02-07 12:11   ` Rashika Kheria
2014-02-07 20:56   ` David Rientjes
2014-02-07 20:56     ` David Rientjes
2014-02-07 20:56     ` David Rientjes
     [not found]   ` <6054d570fc83c3d4f3de240d6da488f876e21450.1391167128.git.rashika.kheria-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-02-07 20:56     ` David Rientjes
2014-02-10  8:23   ` Michal Hocko
2014-02-10  8:23     ` Michal Hocko
2014-02-07 12:12 ` [PATCH 8/9] mm: Mark function as static in nobootmem.c Rashika Kheria
2014-02-07 12:12   ` Rashika Kheria
2014-02-07 20:57   ` David Rientjes
2014-02-07 20:57     ` David Rientjes
2014-02-07 12:15 ` [PATCH 9/9] mm: Remove ifdef condition in include/linux/mm.h Rashika Kheria
2014-02-07 12:15   ` Rashika Kheria
2014-02-07 13:18   ` Rik van Riel
2014-02-07 13:18     ` Rik van Riel
2014-02-07 21:04   ` David Rientjes
2014-02-07 21:04     ` David Rientjes
2014-02-07 21:07     ` Josh Triplett
2014-02-07 21:07       ` Josh Triplett
2014-02-07 21:15       ` David Rientjes
2014-02-07 21:15         ` David Rientjes
2014-02-07 22:30         ` Andrew Morton
2014-02-07 22:30           ` Andrew Morton
2014-02-07 23:09           ` David Rientjes
2014-02-07 23:09             ` David Rientjes
2014-02-07 23:27             ` Josh Triplett
2014-02-07 23:27               ` Josh Triplett
2014-02-08  1:02               ` David Rientjes
2014-02-08  1:02                 ` David Rientjes
2014-02-08  1:25                 ` Josh Triplett
2014-02-08  1:25                   ` Josh Triplett
2014-02-07 12:51 ` [PATCH 1/9] mm: Mark function as static in compaction.c Rik van Riel
2014-02-07 12:51   ` Rik van Riel
2014-02-07 20:43 ` David Rientjes
2014-02-07 20:43   ` David Rientjes

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.