* [frederic-dynticks:timers/core-v4 9/15] kernel/sched/core.c:5521:10: error: 'struct kernel_cpustat' has no member named 'idle_sleeptime_seq'
@ 2026-05-07 15:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-07 15:06 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/core-v4
head: 4c91a3f3d50ec8ceda89c083db92beb25a5526ee
commit: e7ac735799f7047514ea9badbbdff16e96a5556d [9/15] tick/sched: Move dyntick-idle cputime accounting to cputime code
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20260507/202605072346.PjrwkNFq-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605072346.PjrwkNFq-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/202605072346.PjrwkNFq-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/core.c:5521:10: error: 'struct kernel_cpustat' has no member named 'idle_sleeptime_seq'
5521 | .idle_sleeptime_seq = SEQCNT_ZERO(kernel_cpustat.idle_sleeptime_seq)
| ^~~~~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:17,
from include/linux/gfp.h:7,
from include/linux/xarray.h:16,
from include/linux/list_lru.h:14,
from include/linux/fs/super_types.h:7,
from include/linux/fs/super.h:5,
from include/linux/fs.h:5,
from include/linux/highmem.h:5,
from kernel/sched/core.c:12:
>> include/linux/seqlock.h:88:29: error: field name not in record or union initializer
88 | #define SEQCNT_ZERO(name) { .sequence = 0, SEQCOUNT_DEP_MAP_INIT(name) }
| ^
kernel/sched/core.c:5521:31: note: in expansion of macro 'SEQCNT_ZERO'
5521 | .idle_sleeptime_seq = SEQCNT_ZERO(kernel_cpustat.idle_sleeptime_seq)
| ^~~~~~~~~~~
include/linux/seqlock.h:88:29: note: (near initialization for 'kernel_cpustat.cpustat')
88 | #define SEQCNT_ZERO(name) { .sequence = 0, SEQCOUNT_DEP_MAP_INIT(name) }
| ^
kernel/sched/core.c:5521:31: note: in expansion of macro 'SEQCNT_ZERO'
5521 | .idle_sleeptime_seq = SEQCNT_ZERO(kernel_cpustat.idle_sleeptime_seq)
| ^~~~~~~~~~~
vim +5521 kernel/sched/core.c
5518
5519 DEFINE_PER_CPU(struct kernel_stat, kstat);
5520 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat) = {
> 5521 .idle_sleeptime_seq = SEQCNT_ZERO(kernel_cpustat.idle_sleeptime_seq)
5522 };
5523
--
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-05-07 15:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 15:06 [frederic-dynticks:timers/core-v4 9/15] kernel/sched/core.c:5521:10: error: 'struct kernel_cpustat' has no member named 'idle_sleeptime_seq' 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.