hugetlb/cgroup: Mark root_h_cgroup static
Subsystems (2)
PATCH 1/1 hugetlb/cgroup: Mark root_h_cgroup static
From: "Aneesh Kumar K.V" <[email protected]>
Fixes sparse warning reported by Fengguang Wu
Reported-by Fengguang Wu <[email protected]>
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- mm/hugetlb_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/hugetlb_cgroup.c +1 -1
@@ -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)
Signature · 7 lines
1.7.10 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>