Re: [PATCH net v5 0/6] net: phy: fix cleanup after probe failure
From: patchwork-bot+netdevbpf
Date: Sun Aug 30 2026 - 20:48:11 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 23 Aug 2026 11:55:54 +0800 you wrote:
> From: Xuanqiang Luo <luoxuanqiang@xxxxxxxxxx>
>
> phy_probe() initializes the PHY driver, ports, SFP upstream, and LEDs in
> stages. Its error paths do not always release only the resources acquired
> at each stage. It can also mark the PHY ready before all setup succeeds.
>
> Port setup also leaves SFP cleanup split between phy_sfp_probe(),
> phy_setup_ports(), and phy_probe(), and default port setup ignores errors
> from attaching the port to the PHY driver.
>
> [...]
Here is the summary with links:
- [net,v5,1/6] net: phy: split phy_probe() error paths
https://git.kernel.org/netdev/net-next/c/b6d201d97145
- [net,v5,2/6] net: phy: unregister SFP upstream before port cleanup
https://git.kernel.org/netdev/net-next/c/f558204abcb9
- [net,v5,3/6] net: phy: set PHY_READY after LED setup
https://git.kernel.org/netdev/net-next/c/52dd7eb1a33e
- [net,v5,4/6] net: phy: call driver remove when core initialization fails
https://git.kernel.org/netdev/net-next/c/afd5aecd3c07
- [net,v5,5/6] net: phy: propagate errors from default port setup
https://git.kernel.org/netdev/net-next/c/48378efebbe7
- [net,v5,6/6] net: phy: avoid double-free after LED trigger registration failure
https://git.kernel.org/netdev/net-next/c/f7f619ecda57
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html