* [linux-next:master 3688/5998] kernel/sched/core.c:9284:36: error: 'struct task_group' has no member named 'scx_weight'
@ 2025-06-29 21:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-29 21:28 UTC (permalink / raw)
To: Tejun Heo; +Cc: oe-kbuild-all
Hi Tejun,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 2aeda9592360c200085898a258c4754bfe879921
commit: 6e6558a6bc418f1478c5dc8609d03805364e0cb9 [3688/5998] sched_ext, sched/core: Factor out struct scx_task_group
config: sparc64-randconfig-001-20250630 (https://download.01.org/0day-ci/archive/20250630/202506300552.bnOSRwMk-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250630/202506300552.bnOSRwMk-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506300552.bnOSRwMk-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/sched/core.c: In function 'tg_weight':
>> kernel/sched/core.c:9284:36: error: 'struct task_group' has no member named 'scx_weight'
return sched_weight_from_cgroup(tg->scx_weight);
^~
kernel/sched/core.c:9286:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +9284 kernel/sched/core.c
2480c093130f64 kernel/sched/core.c Patrick Bellasi 2019-08-22 9277
e179e80c5d4fef kernel/sched/core.c Tejun Heo 2024-09-04 9278 #ifdef CONFIG_GROUP_SCHED_WEIGHT
41082c1d1d2bf6 kernel/sched/core.c Tejun Heo 2024-09-04 9279 static unsigned long tg_weight(struct task_group *tg)
41082c1d1d2bf6 kernel/sched/core.c Tejun Heo 2024-09-04 9280 {
052f1dc7eb0230 kernel/sched.c Peter Zijlstra 2008-02-13 9281 #ifdef CONFIG_FAIR_GROUP_SCHED
41082c1d1d2bf6 kernel/sched/core.c Tejun Heo 2024-09-04 9282 return scale_load_down(tg->shares);
8195136669661f kernel/sched/core.c Tejun Heo 2024-09-04 9283 #else
8195136669661f kernel/sched/core.c Tejun Heo 2024-09-04 @9284 return sched_weight_from_cgroup(tg->scx_weight);
8195136669661f kernel/sched/core.c Tejun Heo 2024-09-04 9285 #endif
41082c1d1d2bf6 kernel/sched/core.c Tejun Heo 2024-09-04 9286 }
41082c1d1d2bf6 kernel/sched/core.c Tejun Heo 2024-09-04 9287
:::::: The code at line 9284 was first introduced by commit
:::::: 8195136669661fdfe54e9a8923c33b31c92fc1da sched_ext: Add cgroup support
:::::: TO: Tejun Heo <tj@kernel.org>
:::::: CC: Tejun Heo <tj@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-29 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-29 21:28 [linux-next:master 3688/5998] kernel/sched/core.c:9284:36: error: 'struct task_group' has no member named 'scx_weight' 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.