Re: [PATCH net] net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe

From: patchwork-bot+netdevbpf
Date: Tue Apr 04 2023 - 06:40:25 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 3 Apr 2023 14:33:21 +0530 you wrote:
> In the am65_cpsw_nuss_probe() function's cleanup path, the call to
> of_platform_device_destroy() for the common->mdio_dev device is invoked
> unconditionally. It is possible that either the MDIO node is not present
> in the device-tree, or the MDIO node is disabled in the device-tree. In
> both these cases, the MDIO device is not created, resulting in a NULL
> pointer dereference when the of_platform_device_destroy() function is
> invoked on the common->mdio_dev device on the cleanup path.
>
> [...]

Here is the summary with links:
- [net] net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
https://git.kernel.org/netdev/net/c/c6b486fb3368

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