From: kernel test robot <lkp@intel.com>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [frederic-dynticks:timers/core-v4 9/15] kernel/sched/core.c:5521:3: error: field designator 'idle_sleeptime_seq' does not refer to any field in type 'typeof(struct kernel_cpustat)' (aka 'struct kernel_cpustat')
Date: Thu, 07 May 2026 22:53:16 +0800 [thread overview]
Message-ID: <202605072245.sxSsDd16-lkp@intel.com> (raw)
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: um-allnoconfig (https://download.01.org/0day-ci/archive/20260507/202605072245.sxSsDd16-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605072245.sxSsDd16-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/202605072245.sxSsDd16-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sched/core.c:5521:3: error: field designator 'idle_sleeptime_seq' does not refer to any field in type 'typeof(struct kernel_cpustat)' (aka 'struct kernel_cpustat')
5521 | .idle_sleeptime_seq = SEQCNT_ZERO(kernel_cpustat.idle_sleeptime_seq)
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:8055:12: warning: array index -1 is before the beginning of the array [-Warray-bounds]
8055 | preempt_modes[preempt_dynamic_mode] : "undef",
| ^ ~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:8030:1: note: array 'preempt_modes' declared here
8030 | const char *preempt_modes[] = {
| ^
1 warning and 1 error generated.
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
reply other threads:[~2026-05-07 14:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202605072245.sxSsDd16-lkp@intel.com \
--to=lkp@intel.com \
--cc=frederic@kernel.org \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox