From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mt1.gw.fujitsu.co.jp ([10.0.50.74]) by fgwmail5.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id mAP4Qg2O006994 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Tue, 25 Nov 2008 13:26:42 +0900 Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 75DAE45DE50 for ; Tue, 25 Nov 2008 13:26:42 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 0E2C545DE51 for ; Tue, 25 Nov 2008 13:26:42 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id E27EE1DB803E for ; Tue, 25 Nov 2008 13:26:41 +0900 (JST) Received: from m107.s.css.fujitsu.com (m107.s.css.fujitsu.com [10.249.87.107]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 892471DB8045 for ; Tue, 25 Nov 2008 13:26:41 +0900 (JST) From: KOSAKI Motohiro Subject: [PATCH] mm: make mem_cgroup_resize_limit() static In-Reply-To: <20081125131942.26CD.KOSAKI.MOTOHIRO@jp.fujitsu.com> References: <20081125131942.26CD.KOSAKI.MOTOHIRO@jp.fujitsu.com> Message-Id: <20081125132556.26D6.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:26:40 +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 warnings. mm/memcontrol.c:782:5: warning: symbol 'mem_cgroup_resize_limit' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro --- mm/memcontrol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: b/mm/memcontrol.c =================================================================== --- a/mm/memcontrol.c 2008-11-05 01:11:45.000000000 +0900 +++ b/mm/memcontrol.c 2008-11-22 22:23:12.000000000 +0900 @@ -779,7 +779,8 @@ int mem_cgroup_shrink_usage(struct mm_st return 0; } -int mem_cgroup_resize_limit(struct mem_cgroup *memcg, unsigned long long val) +static int mem_cgroup_resize_limit(struct mem_cgroup *memcg, + unsigned long long val) { int retry_count = MEM_CGROUP_RECLAIM_RETRIES; -- 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