Subject: Re: [PATCH] net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL

From: [email-masked]
Date: Sat, 26 Mar 2022 18:50:10 +0000

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email-masked]>:

On Sat, 26 Mar 2022 11:02:34 -0700 you wrote:
> Fix build errors when PTP_1588_CLOCK=m and SPARX5_SWTICH=y.
> 
> arc-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.o: in function `sparx5_get_ts_info':
> sparx5_ethtool.c:(.text+0x146): undefined reference to `ptp_clock_index'
> arc-linux-ld: sparx5_ethtool.c:(.text+0x146): undefined reference to `ptp_clock_index'
> arc-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o: in function `sparx5_ptp_init':
> sparx5_ptp.c:(.text+0xd56): undefined reference to `ptp_clock_register'
> arc-linux-ld: sparx5_ptp.c:(.text+0xd56): undefined reference to `ptp_clock_register'
> arc-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o: in function `sparx5_ptp_deinit':
> sparx5_ptp.c:(.text+0xf30): undefined reference to `ptp_clock_unregister'
> arc-linux-ld: sparx5_ptp.c:(.text+0xf30): undefined reference to `ptp_clock_unregister'
> arc-linux-ld: sparx5_ptp.c:(.text+0xf38): undefined reference to `ptp_clock_unregister'
> arc-linux-ld: sparx5_ptp.c:(.text+0xf46): undefined reference to `ptp_clock_unregister'
> arc-linux-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o:sparx5_ptp.c:(.text+0xf46): more undefined references to `ptp_clock_unregister' follow
> 
> [...]

Here is the summary with links:
  - net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    https://git.kernel.org/netdev/net/c/08be6b13db23

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html