Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh (Schneider Electric)"
	<thomas.weissschuh@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/auxclock-nanosleep 35/41] kernel/time/timer_list.c:117:57: error: no member named 'disabled_bases' in 'struct hrtimer_cpu_base'
Date: Wed, 28 Oct 2026 23:36:41 +0100	[thread overview]
Message-ID: <202610282341.X4ssVNgi-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/auxclock-nanosleep
head:   b07585bb535605fb7baff6811b5b778c83af0805
commit: e135d1b5014d752a74322230ad9e2708ea093ebf [35/41] timer_list: Add auxiliary clock support
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20261028/202610282341.X4ssVNgi-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610282341.X4ssVNgi-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/202610282341.X4ssVNgi-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/time/timer_list.c:117:57: error: no member named 'disabled_bases' in 'struct hrtimer_cpu_base'
     117 |                 bool enabled = ((1U << base->index) & base->cpu_base->disabled_bases);
         |                                                       ~~~~~~~~~~~~~~  ^
   1 error generated.


vim +117 kernel/time/timer_list.c

   107	
   108	static void
   109	print_base(struct seq_file *m, struct hrtimer_clock_base *base, ktime_t now)
   110	{
   111		SEQ_printf(m, "  .base:       %p\n", base);
   112		SEQ_printf(m, "  .index:      %d\n", base->index);
   113	
   114		SEQ_printf(m, "  .resolution: %u nsecs\n", hrtimer_resolution);
   115	#ifdef CONFIG_HIGH_RES_TIMERS
   116		if (clockid_is_aux_clock(base->clockid)) {
 > 117			bool enabled = ((1U << base->index) & base->cpu_base->disabled_bases);
   118			const struct tk_aux_mono_conv *conv = base->aux_mono_conv;
   119	
   120			SEQ_printf(m, ".enabled:      %d\n", enabled);
   121			if (enabled) {
   122				SEQ_printf(m, "  .mono_base:  %lld nsecs\n", (long long)conv->mono_base);
   123				SEQ_printf(m, "  .aux_base:   %lld nsecs\n", (long long)conv->aux_base);
   124				SEQ_printf(m, "  .mono_mult:  %u\n", conv->mono_mult);
   125				SEQ_printf(m, "  .aux_mult:   %u\n", conv->aux_mult);
   126			}
   127		} else {
   128			SEQ_printf(m, "  .offset:     %lld nsecs\n", (long long)*base->offset);
   129		}
   130	#endif
   131		SEQ_printf(m,   "active timers:\n");
   132		print_active_timers(m, base, base_now(base, now));
   133	}
   134	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-10-28 22:37 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=202610282341.X4ssVNgi-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=thomas.weissschuh@linutronix.de \
    /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