Re: [PATCH net] net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error
From: patchwork-bot+netdevbpf
Date: Tue Mar 04 2025 - 07:00:08 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Fri, 28 Feb 2025 18:52:58 +0800 you wrote:
> From: Peiyang Wang <wangpeiyang1@xxxxxxxxxx>
>
> During the initialization of ptp, hclge_ptp_get_cycle might return an error
> and returned directly without unregister clock and free it. To avoid that,
> call hclge_ptp_destroy_clock to unregist and free clock if
> hclge_ptp_get_cycle failed.
>
> [...]
Here is the summary with links:
- [net] net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error
https://git.kernel.org/netdev/net/c/b7365eab3983
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html