From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <linux@weissschuh.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/auxclock-nanosleep 32/52] kernel/time/hrtimer.c:599:13: error: call to undeclared function 'hrtimer_time_to_monotonic'; ISO C99 and later do not support implicit function declarations
Date: Tue, 09 Jun 2026 13:38:49 +0800 [thread overview]
Message-ID: <202606091353.TwHVKGhK-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/auxclock-nanosleep
head: bca5a81b57571c48bb81e7225cb1e4248f98b346
commit: 7a200ad6980105f50270ca602d25d2960bfd63f6 [32/52] helper
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260609/202606091353.TwHVKGhK-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 7917772d7d61384696c61102c08c2ea158e610fa)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260609/202606091353.TwHVKGhK-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/202606091353.TwHVKGhK-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/time/hrtimer.c:599:13: error: call to undeclared function 'hrtimer_time_to_monotonic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
599 | expires = hrtimer_time_to_monotonic(base, base->expires_next);
| ^
kernel/time/hrtimer.c:871:12: error: call to undeclared function 'hrtimer_time_to_monotonic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
871 | expires = hrtimer_time_to_monotonic(base, expires);
| ^
kernel/time/hrtimer.c:965:13: error: call to undeclared function 'hrtimer_time_to_monotonic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
965 | expires = hrtimer_time_to_monotonic(base, next->expires);
| ^
kernel/time/hrtimer.c:1550:12: error: call to undeclared function 'hrtimer_time_to_monotonic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1550 | expires = hrtimer_time_to_monotonic(timer->base, expires);
| ^
4 errors generated.
vim +/hrtimer_time_to_monotonic +599 kernel/time/hrtimer.c
590
591 /* Find the base with the earliest expiry */
592 static void hrtimer_bases_first(struct hrtimer_cpu_base *cpu_base,unsigned int active,
593 ktime_t *expires_next, struct hrtimer **next_timer)
594 {
595 struct hrtimer_clock_base *base;
596 ktime_t expires;
597
598 for_each_active_base(base, cpu_base, active) {
> 599 expires = hrtimer_time_to_monotonic(base, base->expires_next);
600 if (expires < *expires_next) {
601 *expires_next = expires;
602 *next_timer = clock_base_next_timer(base);
603 }
604 }
605 }
606
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-09 5:39 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=202606091353.TwHVKGhK-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux@weissschuh.net \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox