[tip:sched/core 7/10] runqslower.bpf.c:77:12: error: no member named 'state' in 'struct task_struct'
From: kernel test robot
Date: Wed Jun 23 2021 - 16:19:56 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head: 0213b7083e81f4acd69db32cb72eb4e5f220329a
commit: 2f064a59a11ff9bc22e52e9678bc601404c7cb34 [7/10] sched: Change task_struct::state
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=2f064a59a11ff9bc22e52e9678bc601404c7cb34
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip sched/core
git checkout 2f064a59a11ff9bc22e52e9678bc601404c7cb34
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> runqslower.bpf.c:77:12: error: no member named 'state' in 'struct task_struct'
if (prev->state == TASK_RUNNING)
~~~~ ^
1 error generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip