From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: LKML <linux-kernel@vger.kernel.org>,
linux-mm <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Cc: kosaki.motohiro@jp.fujitsu.com
Subject: [PATCH] mm: make init_section_page_cgroup() static
Date: Tue, 25 Nov 2008 13:24:58 +0900 (JST) [thread overview]
Message-ID: <20081125132405.26D0.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <20081125131942.26CD.KOSAKI.MOTOHIRO@jp.fujitsu.com>
Sparse output following warning.
mm/page_cgroup.c:100:15: warning: symbol 'init_section_page_cgroup' was not declared. Should it be static?
cleanup here.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
mm/page_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/mm/page_cgroup.c
===================================================================
--- a/mm/page_cgroup.c 2008-11-05 01:11:45.000000000 +0900
+++ b/mm/page_cgroup.c 2008-11-22 22:24:06.000000000 +0900
@@ -97,7 +97,7 @@ struct page_cgroup *lookup_page_cgroup(s
return section->page_cgroup + pfn;
}
-int __meminit init_section_page_cgroup(unsigned long pfn)
+static int __meminit init_section_page_cgroup(unsigned long pfn)
{
struct mem_section *section;
struct page_cgroup *base, *pc;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-11-25 4:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 4:24 mm: various sparse warning fix KOSAKI Motohiro
2008-11-25 4:24 ` KOSAKI Motohiro [this message]
2008-11-25 4:25 ` [PATCH] mm: make maddr __iomem KOSAKI Motohiro
2008-11-25 4:26 ` [PATCH] mm: make mem_cgroup_resize_limit() static KOSAKI Motohiro
2008-11-25 4:28 ` [PATCH] mm: make scan_all_zones_unevictable_pages() static KOSAKI Motohiro
2008-11-25 4:29 ` [PATCH] mm: make scan_zone_unevictable_pages() static KOSAKI Motohiro
2008-11-25 4:29 ` [PATCH] mm: make setup_per_zone_inactive_ratio() static KOSAKI Motohiro
2008-11-25 4:30 ` [PATCH] mm: make vread() and vwrite() declaration KOSAKI Motohiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081125132405.26D0.KOSAKI.MOTOHIRO@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox