[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167023861596.18576.2479015617199052939.git-patchwork-notify@kernel.org>
Date: Mon, 05 Dec 2022 11:10:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, andrew@...n.ch, hkallweit1@...il.com,
linux@...linux.org.uk, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, ioana.ciornei@....com,
calvin.johnson@....nxp.com, grant.likely@....com,
zengheng4@...wei.com
Subject: Re: [PATCH net v3] net: mdiobus: fix double put fwnode in the error path
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 2 Dec 2022 13:18:33 +0800 you wrote:
> If phy_device_register() or fwnode_mdiobus_phy_device_register()
> fail, phy_device_free() is called, the device refcount is decreased
> to 0, then fwnode_handle_put() will be called in phy_device_release(),
> but in the error path, fwnode_handle_put() has already been called,
> so set fwnode to NULL after fwnode_handle_put() in the error path to
> avoid double put.
>
> [...]
Here is the summary with links:
- [net,v3] net: mdiobus: fix double put fwnode in the error path
https://git.kernel.org/netdev/net/c/165df24186ec
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists