* [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_getres32_fallback'?
@ 2026-09-27 22:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-27 22:20 UTC (permalink / raw)
To: Thomas Weißschuh ; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-timens-conditional
head: dbe6d2a5ee3233a9e819a0663236161d27841d5a
commit: dbe6d2a5ee3233a9e819a0663236161d27841d5a [12/12] VDSO_HAS_CLOCK_GETRES
config: sparc-randconfig-r2107-20260927 (https://download.01.org/0day-ci/archive/20260928/202609280041.GO294f3K-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260928/202609280041.GO294f3K-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/202609280041.GO294f3K-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/sparc/vdso/vclock_gettime.c:22:
arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_data':
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_getres32_fallback'? [-Wimplicit-function-declaration]
483 | return clock_getres_fallback(clock, res);
| ^~~~~~~~~~~~~~~~~~~~~
| clock_getres32_fallback
--
In file included from arch/sparc/vdso/vdso32/../vclock_gettime.c:22,
from arch/sparc/vdso/vdso32/vclock_gettime.c:22:
arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_data':
arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_gettime_fallback'? [-Wimplicit-function-declaration]
483 | return clock_getres_fallback(clock, res);
| ^~~~~~~~~~~~~~~~~~~~~
| clock_gettime_fallback
arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_time32_data':
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:505:24: error: implicit declaration of function 'clock_getres32_fallback'; did you mean 'clock_gettime32_fallback'? [-Wimplicit-function-declaration]
505 | return clock_getres32_fallback(clock, res);
| ^~~~~~~~~~~~~~~~~~~~~~~
| clock_gettime32_fallback
vim +483 arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c
502a590a170b3b Thomas Gleixner 2019-07-28 473
08cd5e1de81584 Thomas Weißschuh 2026-02-27 474 static
ac1a42f4e4e296 Thomas Weißschuh 2025-02-04 475 int __cvdso_clock_getres_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993 Christophe Leroy 2020-02-07 476 struct __kernel_timespec *res)
502a590a170b3b Thomas Gleixner 2019-07-28 477 {
34f888e3405ace Thomas Weißschuh 2025-07-01 478 bool ok;
00b26474c2f161 Vincenzo Frascino 2019-06-21 479
34f888e3405ace Thomas Weißschuh 2025-07-01 480 ok = __cvdso_clock_getres_common(vd, clock, res);
34f888e3405ace Thomas Weißschuh 2025-07-01 481
34f888e3405ace Thomas Weißschuh 2025-07-01 482 if (unlikely(!ok))
00b26474c2f161 Vincenzo Frascino 2019-06-21 @483 return clock_getres_fallback(clock, res);
502a590a170b3b Thomas Gleixner 2019-07-28 484 return 0;
00b26474c2f161 Vincenzo Frascino 2019-06-21 485 }
00b26474c2f161 Vincenzo Frascino 2019-06-21 486
e876f0b69dc993 Christophe Leroy 2020-02-07 487 static __maybe_unused
e876f0b69dc993 Christophe Leroy 2020-02-07 488 int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res)
e876f0b69dc993 Christophe Leroy 2020-02-07 489 {
df7fcbefa71090 Thomas Weißschuh 2025-02-04 490 return __cvdso_clock_getres_data(__arch_get_vdso_u_time_data(), clock, res);
e876f0b69dc993 Christophe Leroy 2020-02-07 491 }
e876f0b69dc993 Christophe Leroy 2020-02-07 492
08cd5e1de81584 Thomas Weißschuh 2026-02-27 493 static int
ac1a42f4e4e296 Thomas Weißschuh 2025-02-04 494 __cvdso_clock_getres_time32_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993 Christophe Leroy 2020-02-07 495 struct old_timespec32 *res)
00b26474c2f161 Vincenzo Frascino 2019-06-21 496 {
00b26474c2f161 Vincenzo Frascino 2019-06-21 497 struct __kernel_timespec ts;
34f888e3405ace Thomas Weißschuh 2025-07-01 498 bool ok;
00b26474c2f161 Vincenzo Frascino 2019-06-21 499
369cecd238ac83 Thomas Weißschuh 2026-07-02 500 BUILD_BUG_ON(!IS_ENABLED(CONFIG_COMPAT_32BIT_TIME));
369cecd238ac83 Thomas Weißschuh 2026-07-02 501
34f888e3405ace Thomas Weißschuh 2025-07-01 502 ok = __cvdso_clock_getres_common(vd, clock, &ts);
c60a32ea4f459f Thomas Gleixner 2019-07-30 503
34f888e3405ace Thomas Weißschuh 2025-07-01 504 if (unlikely(!ok))
c60a32ea4f459f Thomas Gleixner 2019-07-30 @505 return clock_getres32_fallback(clock, res);
00b26474c2f161 Vincenzo Frascino 2019-06-21 506
a279235ddbe975 Vincenzo Frascino 2019-08-30 507 if (likely(res)) {
00b26474c2f161 Vincenzo Frascino 2019-06-21 508 res->tv_sec = ts.tv_sec;
00b26474c2f161 Vincenzo Frascino 2019-06-21 509 res->tv_nsec = ts.tv_nsec;
00b26474c2f161 Vincenzo Frascino 2019-06-21 510 }
34f888e3405ace Thomas Weißschuh 2025-07-01 511 return 0;
00b26474c2f161 Vincenzo Frascino 2019-06-21 512 }
e876f0b69dc993 Christophe Leroy 2020-02-07 513
:::::: The code at line 483 was first introduced by commit
:::::: 00b26474c2f1613d7ab894c525f775c67c8a9e8f lib/vdso: Provide generic VDSO implementation
:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
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-09-27 22:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27 22:20 [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_getres32_fallback'? 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.