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

patchwork-bot+netdevbpf
2022-04-11T10:02:01Z

Hello:

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

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.