kernel/cgroup/cgroup-v1.c:617:1: warning: symbol 'cgroup_pool_mutex' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- cgroup-v1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c index 8964c4d0741b5..54dfc3831d3b0 100644 --- a/kernel/cgroup/cgroup-v1.c +++ b/kernel/cgroup/cgroup-v1.c @@ -614,7 +614,7 @@ static int cgroup_clone_children_write(struct cgroup_subsys_state *css, * of parent cgroup and child cgroup at the same time. use cgroup_pool_mutex * to serialize any write operation to pool_size. */ -DEFINE_MUTEX(cgroup_pool_mutex); +static DEFINE_MUTEX(cgroup_pool_mutex); static u64 cgroup_pool_size_read(struct cgroup_subsys_state *css, struct cftype *cft)