All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH zen] sched/alt: [Sync] 2f064a59a11f sched: Change task_struct:: __pcpu_scope_sched_cpu_topo_end_mask can be static
Date: Tue, 28 Sep 2021 16:46:02 +0800	[thread overview]
Message-ID: <20210928084602.GA79371@ed5697875ced> (raw)
In-Reply-To: <202109281634.RSNJ4K1z-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2034 bytes --]

kernel/sched/alt_core.c:121:1: warning: symbol '__pcpu_scope_sched_cpu_topo_end_mask' was not declared. Should it be static?
kernel/sched/alt_core.c:133:1: warning: symbol '__pcpu_scope_sd_llc_id' was not declared. Should it be static?
kernel/sched/alt_core.c:868:6: warning: symbol 'select_nohz_load_balancer' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 kernel/sched/alt_core.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/sched/alt_core.c b/kernel/sched/alt_core.c
index 4909bf54bd4c1..829862214e46c 100644
--- a/kernel/sched/alt_core.c
+++ b/kernel/sched/alt_core.c
@@ -118,7 +118,7 @@ static cpumask_t sched_rq_pending_mask ____cacheline_aligned_in_smp;
 
 DEFINE_PER_CPU(cpumask_t [NR_CPU_AFFINITY_LEVELS], sched_cpu_topo_masks);
 DEFINE_PER_CPU(cpumask_t *, sched_cpu_llc_mask);
-DEFINE_PER_CPU(cpumask_t *, sched_cpu_topo_end_mask);
+static DEFINE_PER_CPU(cpumask_t *, sched_cpu_topo_end_mask);
 
 #ifdef CONFIG_SCHED_SMT
 DEFINE_STATIC_KEY_FALSE(sched_smt_present);
@@ -130,7 +130,7 @@ EXPORT_SYMBOL_GPL(sched_smt_present);
  * the domain), this allows us to quickly tell if two cpus are in the same cache
  * domain, see cpus_share_cache().
  */
-DEFINE_PER_CPU(int, sd_llc_id);
+static DEFINE_PER_CPU(int, sd_llc_id);
 #endif /* CONFIG_SMP */
 
 static DEFINE_MUTEX(sched_hotcpu_mutex);
@@ -865,7 +865,7 @@ void resched_cpu(int cpu)
 #ifdef CONFIG_NO_HZ_COMMON
 void nohz_balance_enter_idle(int cpu) {}
 
-void select_nohz_load_balancer(int stop_tick) {}
+static void select_nohz_load_balancer(int stop_tick) {}
 
 void set_cpu_sd_state_idle(void) {}
 
diff --git a/scripts/spdxcheck-test.sh b/scripts/spdxcheck-test.sh
old mode 100644
new mode 100755
diff --git a/scripts/syscallnr.sh b/scripts/syscallnr.sh
old mode 100644
new mode 100755
diff --git a/scripts/xen-hypercalls.sh b/scripts/xen-hypercalls.sh
old mode 100644
new mode 100755

      reply	other threads:[~2021-09-28  8:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  8:46 [zen:5.14/prjc 199/226] kernel/sched/alt_core.c:121:1: sparse: sparse: symbol '__pcpu_scope_sched_cpu_topo_end_mask' was not declared. Should it be static? kernel test robot
2021-09-28  8:46 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210928084602.GA79371@ed5697875ced \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.