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 Signed-off-by: kernel test robot --- 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