From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7683237505671758394==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] sched/fair: __pcpu_scope_cfs_migrater can be static Date: Fri, 05 Nov 2021 06:22:56 +0800 Message-ID: <20211104222256.GA33291@cd2e393078f2> In-Reply-To: <20211104145713.4419-3-laoar.shao@gmail.com> List-Id: --===============7683237505671758394== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel/sched/fair.c:11949:1: warning: symbol '__pcpu_scope_cfs_migrater' wa= s 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 ed119115906c9..dbf7af187b9d6 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -11946,7 +11946,7 @@ struct cfs_migrater { raw_spinlock_t lock; }; = -DEFINE_PER_CPU(struct cfs_migrater, cfs_migrater); +static DEFINE_PER_CPU(struct cfs_migrater, cfs_migrater); = static int cfs_migration_should_run(unsigned int cpu) { --===============7683237505671758394==--