Skip to contentSkip to conversation

LiquidIO VF: s/select/imply/ for PTP_1588_CLOCK

PATCH Applied Nicolas Pitre 3 participants 3 messages Jan 3, 2017 – Jan 4, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 LiquidIO VF: s/select/imply/ for PTP_1588_CLOCK

In reply to a message not in the archive

Fix a minor fallout from the merge of the timers and the networking trees. The following error may result if the PTP_1588_CLOCK prerequisites are not available:

drivers/built-in.o: In function `ptp_clock_unregister':
(.text+0x40e0a5): undefined reference to pps_unregister_source' drivers/built-in.o: In function ptp_clock_unregister':
(.text+0x40e0cc): undefined reference to posix_clock_unregister' drivers/built-in.o: In function ptp_clock_event':
(.text+0x40e249): undefined reference to pps_event' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e5e1): undefined reference to pps_register_source' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e62c): undefined reference to posix_clock_register' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e68d): undefined reference to `pps_unregister_source'

drivers/net/ethernet/cavium/Kconfig +1 -1
index bbc8bd16cb..dcbce6cac6 100644
@@ -77,7 +77,7 @@ config OCTEON_MGMT_ETHERNET
 config LIQUIDIO_VF
 	tristate "Cavium LiquidIO VF support"
 	depends on 64BIT && PCI_MSI
-	select PTP_1588_CLOCK
+	imply PTP_1588_CLOCK
 	---help---
 	  This driver supports Cavium LiquidIO Intelligent Server Adapter
 	  based on CN23XX chips.
Acked-by on v1 1/1
#2 lore raw
Quoted 17 lines · Nicolas Pitre

Fix a minor fallout from the merge of the timers and the networking trees. The following error may result if the PTP_1588_CLOCK prerequisites are not available:

drivers/built-in.o: In function `ptp_clock_unregister':
(.text+0x40e0a5): undefined reference to pps_unregister_source' drivers/built-in.o: In function ptp_clock_unregister':
(.text+0x40e0cc): undefined reference to posix_clock_unregister' drivers/built-in.o: In function ptp_clock_event':
(.text+0x40e249): undefined reference to pps_event' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e5e1): undefined reference to pps_register_source' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e62c): undefined reference to posix_clock_register' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e68d): undefined reference to `pps_unregister_source'

Quoted 1 line

Thanks for following up on this.

maintainer Applied
#3 lore raw
In reply to Nicolas Pitre

From: Nicolas Pitre <[email protected]>
Date: Tue, 3 Jan 2017 13:57:00 -0500 (EST)

Quoted 17 lines

Fix a minor fallout from the merge of the timers and the networking trees. The following error may result if the PTP_1588_CLOCK prerequisites are not available:

drivers/built-in.o: In function `ptp_clock_unregister':
(.text+0x40e0a5): undefined reference to pps_unregister_source' drivers/built-in.o: In function ptp_clock_unregister':
(.text+0x40e0cc): undefined reference to posix_clock_unregister' drivers/built-in.o: In function ptp_clock_event':
(.text+0x40e249): undefined reference to pps_event' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e5e1): undefined reference to pps_register_source' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e62c): undefined reference to posix_clock_register' drivers/built-in.o: In function ptp_clock_register':
(.text+0x40e68d): undefined reference to `pps_unregister_source'

Quoted 1 line

Applied, thanks.