From: Wei Yongjun Date: Fri, 16 Sep 2016 13:02:37 +0000 (+0000) Subject: cpuset: fix non static symbol warning X-Git-Tag: v4.8~15^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a15b81741879fa89601b03c0e50b0d780d65bc0;p=platform%2Fkernel%2Flinux-exynos.git cpuset: fix non static symbol warning Fixes the following sparse warning: kernel/cpuset.c:2088:6: warning: symbol 'cpuset_fork' was not declared. Should it be static? Signed-off-by: Wei Yongjun Signed-off-by: Tejun Heo --- diff --git a/kernel/cpuset.c b/kernel/cpuset.c index c08585a..2b4c20a 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -2085,7 +2085,7 @@ static void cpuset_bind(struct cgroup_subsys_state *root_css) * which could have been changed by cpuset just after it inherits the * state from the parent and before it sits on the cgroup's task list. */ -void cpuset_fork(struct task_struct *task) +static void cpuset_fork(struct task_struct *task) { if (task_css_is_root(task, cpuset_cgrp_id)) return;