From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from m3.gw.fujitsu.co.jp ([10.0.50.73]) by fgwmail5.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id mAP4P0Lh006190 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Tue, 25 Nov 2008 13:25:00 +0900 Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 2ADA945DE5B for ; Tue, 25 Nov 2008 13:25:00 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 052BC45DD82 for ; Tue, 25 Nov 2008 13:25:00 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id CB4891DB8044 for ; Tue, 25 Nov 2008 13:24:59 +0900 (JST) Received: from m106.s.css.fujitsu.com (m106.s.css.fujitsu.com [10.249.87.106]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 396791DB803F for ; Tue, 25 Nov 2008 13:24:59 +0900 (JST) From: KOSAKI Motohiro Subject: [PATCH] mm: make init_section_page_cgroup() static In-Reply-To: <20081125131942.26CD.KOSAKI.MOTOHIRO@jp.fujitsu.com> References: <20081125131942.26CD.KOSAKI.MOTOHIRO@jp.fujitsu.com> Message-Id: <20081125132405.26D0.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 25 Nov 2008 13:24:58 +0900 (JST) Sender: owner-linux-mm@kvack.org Return-Path: To: LKML , linux-mm , Andrew Morton Cc: kosaki.motohiro@jp.fujitsu.com List-ID: 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 --- 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: email@kvack.org