tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 45baa007ba13bc516470dbd9379b2f7525a087e1
commit: 56b6a5dcf7349d151c47201626e0f1b62334febf [44/59] FROMLIST: sched: Core-wide
rq->lock
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 56b6a5dcf7349d151c47201626e0f1b62334febf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> kernel/sched/core.c:109:6: warning: no previous prototype for
'sched_core_get' [-Wmissing-prototypes]
109 | void sched_core_get(void)
| ^~~~~~~~~~~~~~
> kernel/sched/core.c:117:6: warning: no previous prototype for
'sched_core_put' [-Wmissing-prototypes]
117 | void sched_core_put(void)
| ^~~~~~~~~~~~~~
kernel/sched/core.c:1642:6: warning: no previous prototype for
'sched_set_stop_task' [-Wmissing-prototypes]
1642 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:3843:35: warning: no previous prototype for
'preempt_schedule_irq' [-Wmissing-prototypes]
3843 | asmlinkage __visible void __sched preempt_schedule_irq(void)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:6785:5: warning: no previous prototype for 'tg_set_cfs_quota'
[-Wmissing-prototypes]
6785 | int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us)
| ^~~~~~~~~~~~~~~~
kernel/sched/core.c:6800:6: warning: no previous prototype for 'tg_get_cfs_quota'
[-Wmissing-prototypes]
6800 | long tg_get_cfs_quota(struct task_group *tg)
| ^~~~~~~~~~~~~~~~
kernel/sched/core.c:6813:5: warning: no previous prototype for 'tg_set_cfs_period'
[-Wmissing-prototypes]
6813 | int tg_set_cfs_period(struct task_group *tg, long cfs_period_us)
| ^~~~~~~~~~~~~~~~~
kernel/sched/core.c:6826:6: warning: no previous prototype for 'tg_get_cfs_period'
[-Wmissing-prototypes]
6826 | long tg_get_cfs_period(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~
vim +/sched_core_get +109 kernel/sched/core.c
108
109 void sched_core_get(void)
110 {
111 mutex_lock(&sched_core_mutex);
112 if (!sched_core_count++)
113 __sched_core_enable();
114 mutex_unlock(&sched_core_mutex);
115 }
116
117 void sched_core_put(void)
118 {
119 mutex_lock(&sched_core_mutex);
120 if (!--sched_core_count)
121 __sched_core_disable();
122 mutex_unlock(&sched_core_mutex);
123 }
124
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org