Re: [PATCH net] net: fec: don't save PTP state if PTP is unsupported
From: patchwork-bot+netdevbpf
Date: Wed Oct 09 2024 - 22:50:39 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 8 Oct 2024 14:11:53 +0800 you wrote:
> Some platforms (such as i.MX25 and i.MX27) do not support PTP, so on
> these platforms fec_ptp_init() is not called and the related members
> in fep are not initialized. However, fec_ptp_save_state() is called
> unconditionally, which causes the kernel to panic. Therefore, add a
> condition so that fec_ptp_save_state() is not called if PTP is not
> supported.
>
> [...]
Here is the summary with links:
- [net] net: fec: don't save PTP state if PTP is unsupported
https://git.kernel.org/netdev/net/c/6be063071a45
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html