Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:
On Thu, 12 Nov 2026 11:51:30 +0800 you wrote:
mtk_star_probe() gets the PHY node from the "phy-handle" property
with of_parse_phandle(). The helper takes a reference on the node it
returns. The node is used by of_phy_connect() each time the netdevice
is opened.
That reference is never dropped. Every error return after the lookup
leaks it. Unbind leaks it as well: the driver is devm-only and has no
remove callback.
[...]
Here is the summary with links:
- [net-next,v2] net: ethernet: mtk-star-emac: fix device_node leak in mtk_star_probe()
https://git.kernel.org/netdev/net-next/c/b78cbbb527ad
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html