Re: [net PATCH] net: phy: qcom: at803x: fix kernel panic with at8031_probe

From: patchwork-bot+netdevbpf
Date: Thu Mar 28 2024 - 05:51:11 EST


Hello:

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

On Mon, 25 Mar 2024 20:06:19 +0100 you wrote:
> On reworking and splitting the at803x driver, in splitting function of
> at803x PHYs it was added a NULL dereference bug where priv is referenced
> before it's actually allocated and then is tried to write to for the
> is_1000basex and is_fiber variables in the case of at8031, writing on
> the wrong address.
>
> Fix this by correctly setting priv local variable only after
> at803x_probe is called and actually allocates priv in the phydev struct.
>
> [...]

Here is the summary with links:
- [net] net: phy: qcom: at803x: fix kernel panic with at8031_probe
https://git.kernel.org/netdev/net/c/6a4aee277740

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