From: kernel test robot <lkp@intel.com>
To: David Woodhouse <dwmw@amazon.co.uk>
Cc: oe-kbuild-all@lists.linux.dev, 0day robot <lkp@intel.com>
Subject: ./include/linux/math64.h:184:undefined reference to `ntp_get_time_state'
Date: Thu, 21 May 2026 11:35:16 +0200 [thread overview]
Message-ID: <202605211131.4itLcRA7-lkp@intel.com> (raw)
tree: https://github.com/intel-lab-lkp/linux/commits/David-Woodhouse/MAINTAINERS-Add-Miroslav-as-timekeeping-reviewer/20260520-221128
head: 9f455e02d06fb889c99cbc8e086de8a7e0e6ad23
commit: 9f455e02d06fb889c99cbc8e086de8a7e0e6ad23 kernel/time: Add /dev/vmclock_host miscdev
date: 19 hours ago
config: riscv-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260521/202605211131.4itLcRA7-lkp@intel.com/config)
compiler: riscv64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260521/202605211131.4itLcRA7-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/202605211131.4itLcRA7-lkp@intel.com/
All errors (new ones prefixed by >>):
riscv64-linux-gnu-ld: kernel/time/timekeeping.o: in function `timekeeping_set_reference':
kernel/time/timekeeping.c:2353:(.text+0xb9a): undefined reference to `ntp_get_status'
riscv64-linux-gnu-ld: kernel/time/timekeeping.o: in function `mul_u64_u64_shr':
>> ./include/linux/math64.h:184:(.text+0xba6): undefined reference to `ntp_get_time_state'
vim +184 ./include/linux/math64.h
be5e610c0fd6ef Peter Zijlstra 2013-11-18 180
35181e86df97e4 Haozhong Zhang 2015-10-20 181 #ifndef mul_u64_u64_shr
fc4a0db4149afc Peter Zijlstra 2023-05-19 182 static __always_inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift)
35181e86df97e4 Haozhong Zhang 2015-10-20 183 {
35181e86df97e4 Haozhong Zhang 2015-10-20 @184 return (u64)(((unsigned __int128)a * mul) >> shift);
35181e86df97e4 Haozhong Zhang 2015-10-20 185 }
35181e86df97e4 Haozhong Zhang 2015-10-20 186 #endif /* mul_u64_u64_shr */
35181e86df97e4 Haozhong Zhang 2015-10-20 187
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-05-21 9:35 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=202605211131.4itLcRA7-lkp@intel.com \
--to=lkp@intel.com \
--cc=dwmw@amazon.co.uk \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.