All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:mirror-chromeos-5.10-arcvm 0/1] kernel/sched/core.c:1660:8: error: no member named 'avg' in 'struct sched_entity'
Date: Sat, 15 Aug 2026 04:21:17 +0800	[thread overview]
Message-ID: <202608150403.yIeC8QNv-lkp@intel.com> (raw)

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

             reply	other threads:[~2026-08-14 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-14 20:21 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-21  3:09 [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608150403.yIeC8QNv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.