All of lore.kernel.org
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/auxclock-nanosleep 35/41] kernel/time/timer_list.c:117:69: error: 'struct hrtimer_cpu_base' has no member named 'disabled_bases'
@ 2026-10-28 17:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-28 17:57 UTC (permalink / raw)
  To: Thomas Weißschuh (Schneider Electric); +Cc: 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-randconfig-2200-20261028 (https://download.01.org/0day-ci/archive/20261028/202610281842.jJRZX76T-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261028/202610281842.jJRZX76T-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/202610281842.jJRZX76T-lkp@intel.com/

All errors (new ones prefixed by >>):

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


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 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 17:57 [thomas-weissschuh:b4/auxclock-nanosleep 35/41] kernel/time/timer_list.c:117:69: error: 'struct hrtimer_cpu_base' has no member named 'disabled_bases' 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.