From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
x86@kernel.org, Thomas Gleixner <tglx@kernel.org>
Subject: [tip:timers/vdso 37/45] include/vdso/helpers.h:13:64: error: 'VDSO_CLOCKMODE_TIMENS' undeclared
Date: Wed, 11 Mar 2026 20:52:06 +0800 [thread overview]
Message-ID: <202603112006.tqQzVMDI-lkp@intel.com> (raw)
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
reply other threads:[~2026-03-11 12:52 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=202603112006.tqQzVMDI-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tglx@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®