tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/fifo
head: dfa122e2911e086d472738cf17660969dd0d2749
commit: bb0c29eb129a46bd752342902a7b702577420a1c [22/24] sched,psi: Convert to
sched_set_fifo_low()
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
bc2b70982be8f5250cd0082a7190f8b417bd4dfe)
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 bb0c29eb129a46bd752342902a7b702577420a1c
# 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 errors (new ones prefixed by >>, old ones prefixed by <<):
> kernel/sched/psi.c:620:21: error: use of undeclared identifier
'kworker'
sched_set_fifo_low(kworker->task);
^
1 error generated.
vim +/kworker +620 kernel/sched/psi.c
615
616 static int psi_poll_worker(void *data)
617 {
618 struct psi_group *group = (struct psi_group *)data;
619
620 sched_set_fifo_low(kworker->task);
621
622 while (true) {
623 wait_event_interruptible(group->poll_wait,
624 atomic_cmpxchg(&group->poll_wakeup, 1, 0) ||
625 kthread_should_stop());
626 if (kthread_should_stop())
627 break;
628
629 psi_poll_work(group);
630 }
631 return 0;
632 }
633
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org