* [thomas-weissschuh:b4/vdso-alarm-clocks 3/5] kernel/time/alarmtimer.c:105:undefined reference to `vdso_time_enable_alarmclock'
@ 2026-10-16 8:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-16 8:55 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-alarm-clocks
head: c8bb37f3267c7cbf3aed873255994d37a43122c9
commit: 16c670855b6263e33441b6502dd778778a33ae69 [3/5] vdso: Add alarmclock support infrastructure
config: csky-randconfig-r2200-20261016 (https://download.01.org/0day-ci/archive/20261016/202610161018.bTkFTUke-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 14.3.0
smatch: v0.5.0-9187-g5189e3fb
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261016/202610161018.bTkFTUke-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/202610161018.bTkFTUke-lkp@intel.com/
All errors (new ones prefixed by >>):
csky-linux-ld: kernel/time/alarmtimer.o: in function `alarmtimer_rtc_add_device':
>> kernel/time/alarmtimer.c:105:(.text+0x8f0): undefined reference to `vdso_time_enable_alarmclock'
csky-linux-ld: kernel/time/alarmtimer.o: in function `__srcu_read_lock':
>> include/linux/srcutiny.h:90:(.text+0x9a8): undefined reference to `vdso_time_enable_alarmclock'
vim +105 kernel/time/alarmtimer.c
82
83 static int alarmtimer_rtc_add_device(struct device *dev)
84 {
85 struct rtc_device *rtc = to_rtc_device(dev);
86 struct platform_device *pdev;
87 int ret = 0;
88
89 if (rtcdev)
90 return -EBUSY;
91
92 if (!test_bit(RTC_FEATURE_ALARM, rtc->features))
93 return -1;
94 if (!device_may_wakeup(rtc->dev.parent))
95 return -1;
96
97 pdev = platform_device_register_data(dev, "alarmtimer",
98 PLATFORM_DEVID_AUTO, NULL, 0);
99 if (!IS_ERR(pdev))
100 device_init_wakeup(&pdev->dev, true);
101
102 scoped_guard(spinlock_irqsave, &rtcdev_lock) {
103 if (!IS_ERR(pdev) && !rtcdev && try_module_get(rtc->owner)) {
104 rtcdev = rtc;
> 105 vdso_time_enable_alarmclock();
106 /* hold a reference so it doesn't go away */
107 get_device(dev);
108 pdev = NULL;
109 } else {
110 ret = -1;
111 }
112 }
113
114 platform_device_unregister(pdev);
115 return ret;
116 }
117
--
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-10-16 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 8:55 [thomas-weissschuh:b4/vdso-alarm-clocks 3/5] kernel/time/alarmtimer.c:105:undefined reference to `vdso_time_enable_alarmclock' 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.