Content-Type: multipart/mixed; boundary="===============0691081691002237212==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] sched/fair: __pcpu_scope_nohz_balance_mask can be static Date: Thu, 15 Jul 2021 08:02:01 +0800 Message-ID: <20210715000201.GA122205@dea27cc16cf6> In-Reply-To: <20210714113928.2795632-1-valentin.schneider@arm.com> List-Id: --===============0691081691002237212== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel/sched/fair.c:5697:1: warning: symbol '__pcpu_scope_nohz_balance_mask= ' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 497208a1afb88..c6a515d469dd8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5694,7 +5694,7 @@ DEFINE_PER_CPU(cpumask_var_t, select_idle_mask); = #ifdef CONFIG_NO_HZ_COMMON = -DEFINE_PER_CPU(cpumask_var_t, nohz_balance_mask); +static DEFINE_PER_CPU(cpumask_var_t, nohz_balance_mask); = static struct { cpumask_var_t idle_cpus_mask; /* CPUs in NOHZ idle */ --===============0691081691002237212==--