tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git coresched
head: 4dbdf2010d3452bbc7f7c64a71f5ffdf07282334
commit: d462fdee392d1ff2498aa88b5d611066dcb0e35c [14/24] sched: Improve snapshotting of
min_vruntime for CGroups
config: i386-randconfig-r026-20210115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?i...
git remote add jfern
https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git
git fetch --no-tags jfern coresched
git checkout d462fdee392d1ff2498aa88b5d611066dcb0e35c
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
kernel/sched/fair.c: In function 'se_fi_update':
kernel/sched/fair.c:10736:12: warning: unused variable 'new'
[-Wunused-variable]
10736 | long old, new;
| ^~~
kernel/sched/fair.c:10736:7: warning: unused variable 'old'
[-Wunused-variable]
10736 | long old, new;
| ^~~
kernel/sched/fair.c:10735:7: warning: unused variable 'root'
[-Wunused-variable]
10735 | bool root = true;
| ^~~~
kernel/sched/fair.c: At top level:
> kernel/sched/fair.c:10751:6: warning: no previous prototype for
'task_vruntime_update' [-Wmissing-prototypes]
10751 | void
task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
| ^~~~~~~~~~~~~~~~~~~~
vim +/task_vruntime_update +10751 kernel/sched/fair.c
10750
10751 void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi)
10752 {
10753 struct sched_entity *se = &p->se;
10754
10755 if (p->sched_class != &fair_sched_class)
10756 return;
10757
10758 se_fi_update(se, rq->core->core_forceidle_seq, in_fi);
10759 }
10760
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org