[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166632902041.25874.12951829962393837413.git-patchwork-notify@kernel.org>
Date: Fri, 21 Oct 2022 05:10:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: netdev@...r.kernel.org, ard.biesheuvel@...aro.org,
jaswinder.singh@...aro.org, davem@...emloft.net
Subject: Re: [PATCH net] net: netsec: fix error handling in netsec_register_mdio()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 19 Oct 2022 14:41:04 +0800 you wrote:
> If phy_device_register() fails, phy_device_free() need be called to
> put refcount, so memory of phy device and device name can be freed
> in callback function.
>
> If get_phy_device() fails, mdiobus_unregister() need be called,
> or it will cause warning in mdiobus_free() and kobject is leaked.
>
> [...]
Here is the summary with links:
- [net] net: netsec: fix error handling in netsec_register_mdio()
https://git.kernel.org/netdev/net/c/944235896891
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