* [peterz-queue:sched/core-sched 27/29] kernel/sched/core.c:5731:90: error: variable has incomplete type 'struct task_group'
@ 2021-04-14 0:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-14 0:34 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2566 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core-sched
head: a2f7c8bee1740fc80a75734268b065c96d68d29b
commit: 520bf37d416584c0aca5a190d922d4db145e5d91 [27/29] sched: Cgroup core-scheduling interface
config: riscv-randconfig-r025-20210413 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9829f5e6b1bca9b61efc629770d28bb9014dec45)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=520bf37d416584c0aca5a190d922d4db145e5d91
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/core-sched
git checkout 520bf37d416584c0aca5a190d922d4db145e5d91
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> kernel/sched/core.c:5731:90: error: variable has incomplete type 'struct task_group'
static inline void sched_core_cgroup_online(struct task_group *parent, struct task_group tg) { }
^
include/linux/sched.h:67:8: note: forward declaration of 'struct task_group'
struct task_group;
^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +5731 kernel/sched/core.c
5729
5730 static inline void sched_core_cgroup_free(struct task_group *tg) { }
> 5731 static inline void sched_core_cgroup_online(struct task_group *parent, struct task_group tg) { }
5732
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33809 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-14 0:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-14 0:34 [peterz-queue:sched/core-sched 27/29] kernel/sched/core.c:5731:90: error: variable has incomplete type 'struct task_group' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.