tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git coresched
head: 08584c8e5f653b2f341504289f843d576c83893e
commit: 6d509d1335129285644318491bcce431d0e30fd1 [14/24] sched: migration changes for core
scheduling
config: nds32-randconfig-r035-20210112 (attached as .config)
compiler: nds32le-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
#
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 6d509d1335129285644318491bcce431d0e30fd1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
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 >>):
In file included from kernel/sched/psi.c:143:
> kernel/sched/sched.h:1223:17: warning: 'struct
sched_group' declared inside parameter list will not be visible outside of this
definition or declaration
1223 | struct sched_group *group)
| ^~~~~~~~~~~
--
In file included from kernel/sched/core.c:13:
> kernel/sched/sched.h:1223:17: warning: 'struct
sched_group' declared inside parameter list will not be visible outside of this
definition or declaration
1223 | struct sched_group *group)
| ^~~~~~~~~~~
kernel/sched/core.c: In function 'ttwu_stat':
kernel/sched/core.c:3108:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
3108 | struct rq *rq;
| ^~
kernel/sched/core.c: In function 'schedule_tail':
kernel/sched/core.c:4452:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
4452 | struct rq *rq;
| ^~
--
In file included from kernel/sched/rt.c:6:
> kernel/sched/sched.h:1223:17: warning: 'struct
sched_group' declared inside parameter list will not be visible outside of this
definition or declaration
1223 | struct sched_group *group)
| ^~~~~~~~~~~
kernel/sched/rt.c:669:6: warning: no previous prototype for
'sched_rt_bandwidth_account' [-Wmissing-prototypes]
669 | bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +1223 kernel/sched/sched.h
1220
1221 static inline bool sched_group_cookie_match(struct rq *rq,
1222 struct task_struct *p,
1223 struct sched_group *group)
1224 {
1225 return true;
1226 }
1227 #endif /* CONFIG_SCHED_CORE */
1228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org