Re: [PATCH] net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link

From: patchwork-bot+netdevbpf
Date: Mon Apr 11 2022 - 06:02:02 EST


Hello:

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

On Thu, 7 Apr 2022 08:25:21 -0500 you wrote:
> When using a fixed-link, the altr_tse_pcs driver crashes
> due to null-pointer dereference as no phy_device is provided to
> tse_pcs_fix_mac_speed function. Fix this by adding a check for
> phy_dev before calling the tse_pcs_fix_mac_speed() function.
>
> Also clean up the tse_pcs_fix_mac_speed function a bit. There is
> no need to check for splitter_base and sgmii_adapter_base
> because the driver will fail if these 2 variables are not
> derived from the device tree.
>
> [...]

Here is the summary with links:
- net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
https://git.kernel.org/netdev/net/c/a6aaa0032424

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