All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen:6.19/prjc 16/22] kernel/sched/alt_core.c:7352:44: error: 'struct mm_mm_cid' has no member named 'user_list'
@ 2026-04-07  4:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-07  4:00 UTC (permalink / raw)
  To: steven; +Cc: oe-kbuild-all

tree:   https://github.com/zen-kernel/zen-kernel 6.19/prjc
head:   14ff03aebefa493a7d7ecfcbff66ded1147dba3e
commit: 929363bec03b29a52d29a1e3b16e8b631ad47d18 [16/22] sched/alt: [Sync] 81f70f0ee9ea sched/mmcid: Avoid full tasklist walks
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20260405/202604051820.Vi494cDW-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260405/202604051820.Vi494cDW-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/202604051820.Vi494cDW-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/sched/alt_core.c:3092:13: error: static declaration of 'sched_mm_cid_fork' follows non-static declaration
    3092 | static void sched_mm_cid_fork(struct task_struct *t);
         |             ^~~~~~~~~~~~~~~~~
   In file included from kernel/sched/alt_core.c:15:
   include/linux/sched.h:2351:6: note: previous declaration of 'sched_mm_cid_fork' with type 'void(struct task_struct *)'
    2351 | void sched_mm_cid_fork(struct task_struct *t);
         |      ^~~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c: In function 'sched_init_topology_cpumask':
   kernel/sched/alt_core.c:6220:57: error: implicit declaration of function 'cpu_coregroup_mask' [-Wimplicit-function-declaration]
    6220 |                 per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
         |                                                         ^~~~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:6220:57: error: passing argument 1 of 'cpumask_first' makes pointer from integer without a cast [-Wint-conversion]
    6220 |                 per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
         |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
         |                                                         |
         |                                                         int
   In file included from arch/mips/include/asm/processor.h:15,
                    from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/current.h:6,
                    from ./arch/mips/include/generated/asm/current.h:1,
                    from include/linux/sched.h:12:
   include/linux/cpumask.h:155:73: note: expected 'const struct cpumask *' but argument is of type 'int'
     155 | static __always_inline unsigned int cpumask_first(const struct cpumask *srcp)
         |                                                   ~~~~~~~~~~~~~~~~~~~~~~^~~~
   kernel/sched/alt_core.c:6222:45: error: passing argument 3 of 'cpumask_and' makes pointer from integer without a cast [-Wint-conversion]
    6222 |                 TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
         |                                             ^~~~~~~~~~~~~~~~~~~~~~~
         |                                             |
         |                                             int
   kernel/sched/alt_core.c:6196:37: note: in definition of macro 'TOPOLOGY_CPUMASK'
    6196 |         if (cpumask_and(topo, topo, mask)) {                                    \
         |                                     ^~~~
   include/linux/cpumask.h:714:40: note: expected 'const struct cpumask *' but argument is of type 'int'
     714 |                  const struct cpumask *src2p)
         |                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~
   kernel/sched/alt_core.c:6222:45: error: passing argument 2 of 'cpumask_copy' makes pointer from integer without a cast [-Wint-conversion]
    6222 |                 TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
         |                                             ^~~~~~~~~~~~~~~~~~~~~~~
         |                                             |
         |                                             int
   kernel/sched/alt_core.c:6197:36: note: in definition of macro 'TOPOLOGY_CPUMASK'
    6197 |                 cpumask_copy(topo, mask);                                       \
         |                                    ^~~~
   include/linux/cpumask.h:932:63: note: expected 'const struct cpumask *' but argument is of type 'int'
     932 | void cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp)
         |                                         ~~~~~~~~~~~~~~~~~~~~~~^~~~
   In file included from include/linux/cpumask.h:13:
   include/linux/cpumask_types.h:18:37: error: invalid type argument of '->' (have 'int')
      18 | #define cpumask_bits(maskp) ((maskp)->bits)
         |                                     ^~
   kernel/sched/alt_core.c:6202:55: note: in expansion of macro 'cpumask_bits'
    6202 |                 bitmap_complement(cpumask_bits(topo), cpumask_bits(mask),       \
         |                                                       ^~~~~~~~~~~~
   kernel/sched/alt_core.c:6222:17: note: in expansion of macro 'TOPOLOGY_CPUMASK'
    6222 |                 TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
         |                 ^~~~~~~~~~~~~~~~
   In file included from include/linux/random.h:8,
                    from include/linux/nodemask.h:94,
                    from include/linux/numa.h:6,
                    from include/linux/cpumask.h:15:
   kernel/sched/alt_core.c: In function 'mm_cid_fixup_tasks_to_cpus':
>> kernel/sched/alt_core.c:7352:44: error: 'struct mm_mm_cid' has no member named 'user_list'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                            ^
   include/linux/list.h:1156:19: note: in definition of macro 'hlist_entry_safe'
    1156 |         ({ typeof(ptr) ____ptr = (ptr); \
         |                   ^~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:7352:44: error: 'struct mm_mm_cid' has no member named 'user_list'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                            ^
   include/linux/list.h:1156:35: note: in definition of macro 'hlist_entry_safe'
    1156 |         ({ typeof(ptr) ____ptr = (ptr); \
         |                                   ^~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/init.h:5,
                    from include/linux/printk.h:6,
                    from include/asm-generic/bug.h:31,
                    from arch/mips/include/asm/bug.h:42,
                    from include/linux/bug.h:5,
                    from include/linux/thread_info.h:13:
   include/linux/container_of.h:21:35: error: invalid type argument of unary '*' (have 'int')
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                                   ^~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1167:20: note: in expansion of macro 'hlist_entry_safe'
    1167 |         for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:7352:62: error: 'struct sched_mm_cid' has no member named 'node'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                                              ^
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1167:20: note: in expansion of macro 'hlist_entry_safe'
    1167 |         for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   include/linux/container_of.h:22:35: error: invalid type argument of unary '*' (have 'int')
      22 |                       __same_type(*(ptr), void),                        \
         |                                   ^~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:22:23: note: in expansion of macro '__same_type'
      22 |                       __same_type(*(ptr), void),                        \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1167:20: note: in expansion of macro 'hlist_entry_safe'
    1167 |         for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:566:27: error: expression in static assertion is not an integer
     566 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1167:20: note: in expansion of macro 'hlist_entry_safe'
    1167 |         for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   In file included from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/uapi/linux/sched.h:5,
                    from include/linux/sched.h:10:
>> include/linux/stddef.h:16:33: error: 'struct sched_mm_cid' has no member named 'node'
      16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~
   include/linux/container_of.h:24:28: note: in expansion of macro 'offsetof'
      24 |         ((type *)(__mptr - offsetof(type, member))); })
         |                            ^~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1167:20: note: in expansion of macro 'hlist_entry_safe'
    1167 |         for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:7352:62: error: 'struct sched_mm_cid' has no member named 'node'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                                              ^
   include/linux/list.h:1156:19: note: in definition of macro 'hlist_entry_safe'
    1156 |         ({ typeof(ptr) ____ptr = (ptr); \
         |                   ^~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:7352:62: error: 'struct sched_mm_cid' has no member named 'node'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                                              ^
   include/linux/list.h:1156:35: note: in definition of macro 'hlist_entry_safe'
    1156 |         ({ typeof(ptr) ____ptr = (ptr); \
         |                                   ^~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   include/linux/container_of.h:21:35: error: invalid type argument of unary '*' (have 'int')
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                                   ^~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1169:20: note: in expansion of macro 'hlist_entry_safe'
    1169 |              pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:7352:62: error: 'struct sched_mm_cid' has no member named 'node'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |                                                              ^
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1169:20: note: in expansion of macro 'hlist_entry_safe'
    1169 |              pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   include/linux/container_of.h:22:35: error: invalid type argument of unary '*' (have 'int')
      22 |                       __same_type(*(ptr), void),                        \
         |                                   ^~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:22:23: note: in expansion of macro '__same_type'
      22 |                       __same_type(*(ptr), void),                        \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1169:20: note: in expansion of macro 'hlist_entry_safe'
    1169 |              pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   include/linux/compiler_types.h:566:27: error: expression in static assertion is not an integer
     566 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |         ^~~~~~~~~~~~~
   include/linux/container_of.h:21:23: note: in expansion of macro '__same_type'
      21 |         static_assert(__same_type(*(ptr), ((type *)0)->member) ||       \
         |                       ^~~~~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1169:20: note: in expansion of macro 'hlist_entry_safe'
    1169 |              pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
>> include/linux/stddef.h:16:33: error: 'struct sched_mm_cid' has no member named 'node'
      16 | #define offsetof(TYPE, MEMBER)  __builtin_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~
   include/linux/container_of.h:24:28: note: in expansion of macro 'offsetof'
      24 |         ((type *)(__mptr - offsetof(type, member))); })
         |                            ^~~~~~~~
   include/linux/list.h:1146:40: note: in expansion of macro 'container_of'
    1146 | #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
         |                                        ^~~~~~~~~~~~
   include/linux/list.h:1157:22: note: in expansion of macro 'hlist_entry'
    1157 |            ____ptr ? hlist_entry(____ptr, type, member) : NULL; \
         |                      ^~~~~~~~~~~
   include/linux/list.h:1169:20: note: in expansion of macro 'hlist_entry_safe'
    1169 |              pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
         |                    ^~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c:7352:9: note: in expansion of macro 'hlist_for_each_entry'
    7352 |         hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
         |         ^~~~~~~~~~~~~~~~~~~~
   kernel/sched/alt_core.c: In function 'sched_mm_cid_add_user':
   kernel/sched/alt_core.c:7366:34: error: 'struct sched_mm_cid' has no member named 'node'
    7366 |         hlist_add_head(&t->mm_cid.node, &mm->mm_cid.user_list);
         |                                  ^
   kernel/sched/alt_core.c:7366:52: error: 'struct mm_mm_cid' has no member named 'user_list'
    7366 |         hlist_add_head(&t->mm_cid.node, &mm->mm_cid.user_list);
         |                                                    ^
   kernel/sched/alt_core.c: In function 'sched_mm_cid_remove_user':
   kernel/sched/alt_core.c:7424:34: error: 'struct sched_mm_cid' has no member named 'node'
    7424 |         hlist_del_init(&t->mm_cid.node);
         |                                  ^
   kernel/sched/alt_core.c: In function 'mm_init_cid':
   kernel/sched/alt_core.c:7567:36: error: 'struct mm_mm_cid' has no member named 'user_list'
    7567 |         INIT_HLIST_HEAD(&mm->mm_cid.user_list);
         |                                    ^
   include/linux/list.h:945:32: note: in definition of macro 'INIT_HLIST_HEAD'
     945 | #define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL)
         |                                ^~~


vim +7352 kernel/sched/alt_core.c

  7344	
  7345	static void mm_cid_fixup_tasks_to_cpus(void)
  7346	{
  7347		struct mm_struct *mm = current->mm;
  7348		struct task_struct *t;
  7349	
  7350		lockdep_assert_held(&mm->mm_cid.mutex);
  7351	
> 7352		hlist_for_each_entry(t, &mm->mm_cid.user_list, mm_cid.node) {
  7353			/* Current has already transferred before invoking the fixup. */
  7354			if (t != current)
  7355				mm_cid_fixup_task_to_cpu(t, mm);
  7356		}
  7357	
  7358		mm_cid_complete_transit(mm, MM_CID_ONCPU);
  7359	}
  7360	

-- 
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:[~2026-04-07  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  4:00 [zen:6.19/prjc 16/22] kernel/sched/alt_core.c:7352:44: error: 'struct mm_mm_cid' has no member named 'user_list' 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.