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: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 56b6a5dcf7349d151c47201626e0f1b62334febf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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
function 'sched_core_get' [-Wmissing-prototypes]
void sched_core_get(void)
^
kernel/sched/core.c:109:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
void sched_core_get(void)
^
static
> kernel/sched/core.c:117:6: warning: no previous prototype for
function 'sched_core_put' [-Wmissing-prototypes]
void sched_core_put(void)
^
kernel/sched/core.c:117:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
void sched_core_put(void)
^
static
kernel/sched/core.c:1642:6: warning: no previous prototype for function
'sched_set_stop_task' [-Wmissing-prototypes]
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
kernel/sched/core.c:1642:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
void sched_set_stop_task(int cpu, struct task_struct *stop)
^
static
kernel/sched/core.c:3843:35: warning: no previous prototype for function
'preempt_schedule_irq' [-Wmissing-prototypes]
asmlinkage __visible void __sched preempt_schedule_irq(void)
^
kernel/sched/core.c:3843:22: note: declare 'static' if the function is not
intended to be used outside of this translation unit
asmlinkage __visible void __sched preempt_schedule_irq(void)
^
static
kernel/sched/core.c:6785:5: warning: no previous prototype for function
'tg_set_cfs_quota' [-Wmissing-prototypes]
int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us)
^
kernel/sched/core.c:6785:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us)
^
static
kernel/sched/core.c:6800:6: warning: no previous prototype for function
'tg_get_cfs_quota' [-Wmissing-prototypes]
long tg_get_cfs_quota(struct task_group *tg)
^
kernel/sched/core.c:6800:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
long tg_get_cfs_quota(struct task_group *tg)
^
static
kernel/sched/core.c:6813:5: warning: no previous prototype for function
'tg_set_cfs_period' [-Wmissing-prototypes]
int tg_set_cfs_period(struct task_group *tg, long cfs_period_us)
^
kernel/sched/core.c:6813:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
int tg_set_cfs_period(struct task_group *tg, long cfs_period_us)
^
static
kernel/sched/core.c:6826:6: warning: no previous prototype for function
'tg_get_cfs_period' [-Wmissing-prototypes]
long tg_get_cfs_period(struct task_group *tg)
^
kernel/sched/core.c:6826:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
long tg_get_cfs_period(struct task_group *tg)
^
static
8 warnings generated.
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