net: phy: fixed_phy: fix missing initialization of fixed phy link
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: fixed_phy: fix missing initialization of fixed phy link
Original change remove the link initialization from the passed struct fixed_phy_status, but missed to add it in all places in the code.
Fixes 9f07af1d2742 ("net: phy: fixed_phy: initialize the link status as up")
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/phy/fixed_phy.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/phy/fixed_phy.c +1 -0
@@ -124,6 +124,7 @@ static int __fixed_phy_add(int phy_addr, fp->addr = phy_addr; fp->status = *status; + fp->status.link = true;list_add_tail (&fp->node, &fmb_phys);
Signature · 1 line
2.52.0
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 19 Nov 2025 08:05:45 +0100 you wrote:
Original change remove the link initialization from the passed struct
fixed_phy_status, but missed to add it in all places in the code.Fixes 9f07af1d2742 ("net: phy: fixed_phy: initialize the link status as up")Signed-off-by Heiner Kallweit <[email protected]>--- drivers/net/phy/fixed_phy.c | 1 + 1 file changed, 1 insertion(+)
Here is the summary with links:
- [net-next] net: phy: fixed_phy: fix missing initialization of fixed phy link
https://git.kernel.org/netdev/net-next/c/bd048f8ce6ce
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html