Skip to contentSkip to conversation

Backport fix for 5.15: hv: utils: add PTP_1588_CLOCK to Kconfig to fix build

DISCUSSION Petr Štetiar 2 participants 2 messages Mar 28, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi,

I would like to ask for a backport of upstream commit 1dc2f2b81a6a ("hv:
utils: add PTP_1588_CLOCK to Kconfig to fix build") to 5.15 kernel series as it fixes following build failure for me with 5.15.31:

x86_64-openwrt-linux-musl-ld: drivers/hv/hv_util.o: in function `hv_timesync_deinit':
linux-x86_64/linux-5.15.31/drivers/hv/hv_util.c:770: undefined reference to ptp_clock_unregister' x86_64-openwrt-linux-musl-ld: drivers/hv/hv_util.o: in function hv_timesync_init':
linux-x86_64/linux-5.15.31/drivers/hv/hv_util.c:746: undefined reference to `ptp_clock_register'

Thanks!

Cheers,

Petr

#1 lore raw
Quoted 10 lines · Petr Štetiar

Hi,

I would like to ask for a backport of upstream commit 1dc2f2b81a6a ("hv:
utils: add PTP_1588_CLOCK to Kconfig to fix build") to 5.15 kernel series as it fixes following build failure for me with 5.15.31:

x86_64-openwrt-linux-musl-ld: drivers/hv/hv_util.o: in function `hv_timesync_deinit':
linux-x86_64/linux-5.15.31/drivers/hv/hv_util.c:770: undefined reference to ptp_clock_unregister' x86_64-openwrt-linux-musl-ld: drivers/hv/hv_util.o: in function hv_timesync_init':
linux-x86_64/linux-5.15.31/drivers/hv/hv_util.c:746: undefined reference to `ptp_clock_register'

Now queued up, thanks.

greg k-h