From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx181.postini.com [74.125.245.181]) by kanga.kvack.org (Postfix) with SMTP id 380B46B00B2 for ; Thu, 21 Jun 2012 06:32:53 -0400 (EDT) Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Jun 2012 16:02:48 +0530 Received: from d28av05.in.ibm.com (d28av05.in.ibm.com [9.184.220.67]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5LAWihw62128372 for ; Thu, 21 Jun 2012 16:02:44 +0530 Received: from d28av05.in.ibm.com (loopback [127.0.0.1]) by d28av05.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5LG3G51020534 for ; Fri, 22 Jun 2012 02:03:16 +1000 From: "Aneesh Kumar K.V" Subject: [PATCH] hugetlb/cgroup: Mark root_h_cgroup static Date: Thu, 21 Jun 2012 16:02:38 +0530 Message-Id: <1340274758-25835-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org, kamezawa.hiroyu@jp.fujitsu.com, mhocko@suse.cz, akpm@linux-foundation.org, wfg@linux.intel.com Cc: "Aneesh Kumar K.V" From: "Aneesh Kumar K.V" Fixes sparse warning reported by Fengguang Wu Reported-by: Fengguang Wu Signed-off-by: Aneesh Kumar K.V --- mm/hugetlb_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index a7a0a79..db40669 100644 --- a/mm/hugetlb_cgroup.c +++ b/mm/hugetlb_cgroup.c @@ -31,7 +31,7 @@ struct hugetlb_cgroup { #define MEMFILE_ATTR(val) ((val) & 0xffff) struct cgroup_subsys hugetlb_subsys __read_mostly; -struct hugetlb_cgroup *root_h_cgroup __read_mostly; +static struct hugetlb_cgroup *root_h_cgroup __read_mostly; static inline struct hugetlb_cgroup *hugetlb_cgroup_from_css(struct cgroup_subsys_state *s) -- 1.7.10 -- 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