Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [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'
@ 2026-10-28 22:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-28 22:36 UTC (permalink / raw)
  To: Thomas Weißschuh (Schneider Electric); +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 22:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 22:36 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox