* [android-common:mirror-chromeos-5.10-arcvm 0/1] kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity'
@ 2025-05-21 3:09 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-05-21 3:09 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi David,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common mirror-chromeos-5.10-arcvm
head: a9210c1506e930df0afea77708f176a29bd80ebf
commit: e0515f89730a8597730e11f244a80d37c7970d4a [0/1] CHROMIUM: FROMLIST: sched/fair: Add util_guest for tasks
config: x86_64-buildonly-randconfig-002-20250521 (https://download.01.org/0day-ci/archive/20250521/202505211038.NVfBh2eu-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250521/202505211038.NVfBh2eu-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/202505211038.NVfBh2eu-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity'
1660 | p->se.avg.util_guest = attr->sched_util_min;
| ~~~~~ ^
kernel/sched/core.c:2629:13: warning: variable 'rq' set but not used [-Wunused-but-set-variable]
2629 | struct rq *rq;
| ^
kernel/sched/core.c:4917:35: warning: no previous prototype for function 'schedule_user' [-Wmissing-prototypes]
4917 | asmlinkage __visible void __sched schedule_user(void)
| ^
kernel/sched/core.c:4917:22: note: declare 'static' if the function is not intended to be used outside of this translation unit
4917 | asmlinkage __visible void __sched schedule_user(void)
| ^
| static
2 warnings and 1 error generated.
vim +1660 kernel/sched/core.c
1656
1657 if (likely(!(attr->sched_flags & SCHED_FLAG_UTIL_GUEST)))
1658 return;
1659
> 1660 p->se.avg.util_guest = attr->sched_util_min;
1661 }
1662
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [android-common:mirror-chromeos-5.10-arcvm 0/1] kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity'
@ 2026-08-14 20:21 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-08-14 20:21 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi David,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common mirror-chromeos-5.10-arcvm
head: 8b4ccabf3e6b7ef8ad04f513e8e5b1a5a1021267
commit: e0515f89730a8597730e11f244a80d37c7970d4a [0/1] CHROMIUM: FROMLIST: sched/fair: Add util_guest for tasks
config: i386-buildonly-randconfig-001-20260814 (https://download.01.org/0day-ci/archive/20260815/202608150403.yIeC8QNv-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 844a18e753e822736c9805ab779144b647a2c186)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260815/202608150403.yIeC8QNv-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/202608150403.yIeC8QNv-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity'
1660 | p->se.avg.util_guest = attr->sched_util_min;
| ~~~~~ ^
1 error generated.
--
kernel/sched/fair.c:4594:6: warning: no previous prototype for function 'set_next_entity' [-Wmissing-prototypes]
4594 | void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
| ^
kernel/sched/fair.c:4594:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
4594 | void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
| ^
| static
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:285:10: note: expanded from macro '__native_word'
285 | (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
| ^
include/linux/compiler_types.h:317:22: note: expanded from macro 'compiletime_assert'
317 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:305:23: note: expanded from macro '_compiletime_assert'
305 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:297:9: note: expanded from macro '__compiletime_assert'
297 | if (!(condition)) \
| ^~~~~~~~~
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:285:39: note: expanded from macro '__native_word'
285 | (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
| ^
include/linux/compiler_types.h:317:22: note: expanded from macro 'compiletime_assert'
317 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:305:23: note: expanded from macro '_compiletime_assert'
305 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:297:9: note: expanded from macro '__compiletime_assert'
297 | if (!(condition)) \
| ^~~~~~~~~
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:286:10: note: expanded from macro '__native_word'
286 | sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
| ^
include/linux/compiler_types.h:317:22: note: expanded from macro 'compiletime_assert'
317 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:305:23: note: expanded from macro '_compiletime_assert'
305 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:297:9: note: expanded from macro '__compiletime_assert'
297 | if (!(condition)) \
| ^~~~~~~~~
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:286:38: note: expanded from macro '__native_word'
286 | sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
| ^
include/linux/compiler_types.h:317:22: note: expanded from macro 'compiletime_assert'
317 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:305:23: note: expanded from macro '_compiletime_assert'
305 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:297:9: note: expanded from macro '__compiletime_assert'
297 | if (!(condition)) \
| ^~~~~~~~~
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:48: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:317:22: note: expanded from macro 'compiletime_assert'
317 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:305:23: note: expanded from macro '_compiletime_assert'
305 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:297:9: note: expanded from macro '__compiletime_assert'
297 | if (!(condition)) \
| ^~~~~~~~~
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
50 | __READ_ONCE(x); \
| ^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
| ^
include/linux/compiler_types.h:274:13: note: expanded from macro '__unqual_scalar_typeof'
274 | _Generic((x), \
| ^
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
50 | __READ_ONCE(x); \
| ^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
| ^
include/linux/compiler_types.h:281:15: note: expanded from macro '__unqual_scalar_typeof'
281 | default: (x)))
| ^
>> kernel/sched/fair.c:5712:22: error: no member named 'avg' in 'struct sched_entity'
5712 | if (READ_ONCE(p->se.avg.util_guest))
| ~~~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
50 | __READ_ONCE(x); \
| ^
include/asm-generic/rwonce.h:44:72: note: expanded from macro '__READ_ONCE'
44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
| ^
1 warning and 8 errors generated.
vim +1660 kernel/sched/core.c
1656
1657 if (likely(!(attr->sched_flags & SCHED_FLAG_UTIL_GUEST)))
1658 return;
1659
> 1660 p->se.avg.util_guest = attr->sched_util_min;
1661 }
1662
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-14 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 20:21 [android-common:mirror-chromeos-5.10-arcvm 0/1] kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-05-21 3:09 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.