mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:timers/vdso 37/45] include/vdso/helpers.h:13:64: error: 'VDSO_CLOCKMODE_TIMENS' undeclared
@ 2026-03-11 12:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-11 12:52 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: oe-kbuild-all, linux-kernel, x86, Thomas Gleixner

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/vdso
head:   f7178f159b2a36d070fd43b0d751e4e4415ec39e
commit: 912632a7fd4cc1eac2778828d92e8fe46939d6bd [37/45] vdso/datapage: Trim down unnecessary includes
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20260311/202603112006.tqQzVMDI-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/20260311/202603112006.tqQzVMDI-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/202603112006.tqQzVMDI-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/vgtod.h:13,
                    from arch/x86/kernel/sys_ia32.c:49:
   include/vdso/helpers.h: In function 'vdso_is_timens_clock':
>> include/vdso/helpers.h:13:64: error: 'VDSO_CLOCKMODE_TIMENS' undeclared (first use in this function)
      13 |         return IS_ENABLED(CONFIG_TIME_NS) && vc->clock_mode == VDSO_CLOCKMODE_TIMENS;
         |                                                                ^~~~~~~~~~~~~~~~~~~~~
   include/vdso/helpers.h:13:64: note: each undeclared identifier is reported only once for each function it appears in


vim +/VDSO_CLOCKMODE_TIMENS +13 include/vdso/helpers.h

00b26474c2f161 Vincenzo Frascino 2019-06-21  10  
daa2b92d33a403 Thomas Weißschuh  2026-02-27  11  static __always_inline bool vdso_is_timens_clock(const struct vdso_clock *vc)
daa2b92d33a403 Thomas Weißschuh  2026-02-27  12  {
daa2b92d33a403 Thomas Weißschuh  2026-02-27 @13  	return IS_ENABLED(CONFIG_TIME_NS) && vc->clock_mode == VDSO_CLOCKMODE_TIMENS;
daa2b92d33a403 Thomas Weißschuh  2026-02-27  14  }
daa2b92d33a403 Thomas Weißschuh  2026-02-27  15  

:::::: The code at line 13 was first introduced by commit
:::::: daa2b92d33a4038123598aff55240ae3c54f870c vdso/gettimeofday: Add a helper to test if a clock is namespaced

:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@kernel.org>

-- 
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-03-11 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-11 12:52 [tip:timers/vdso 37/45] include/vdso/helpers.h:13:64: error: 'VDSO_CLOCKMODE_TIMENS' undeclared 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

all inboxes | Powered by JetHome®