Re: [PATCH net] net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe()

From: patchwork-bot+netdevbpf
Date: Mon Nov 28 2022 - 06:10:43 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 24 Nov 2022 11:03:08 +0800 you wrote:
> The am65_cpsw_nuss_cleanup_ndev() function calls unregister_netdev()
> even if register_netdev() fails, which triggers WARN_ON(1) in
> unregister_netdevice_many(). To fix it, make sure that
> unregister_netdev() is called only on registered netdev.
>
> Compile tested only.
>
> [...]

Here is the summary with links:
- [net] net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe()
https://git.kernel.org/netdev/net/c/46fb6512538d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html