diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-09-05 20:27:09 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-05 20:37:20 -0700 |
commit | 502cc061de6692a9a8ca9bcf486de78e2664e869 (patch) | |
tree | 16a6c1b6c40936c59bd6dee4c1de918789094ee0 /drivers/net/phy | |
parent | e10034e38e9da2a644f2aa73f2f46bb7beb8620b (diff) | |
parent | d759ee240d3c0c4a19f4d984eb21c36da76bc6ce (diff) | |
download | lwn-502cc061de6692a9a8ca9bcf486de78e2664e869.tar.gz lwn-502cc061de6692a9a8ca9bcf486de78e2664e869.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR.
Conflicts:
drivers/net/phy/phy_device.c
2560db6ede1a ("net: phy: Fix missing of_node_put() for leds")
1dce520abd46 ("net: phy: Use for_each_available_child_of_node_scoped()")
https://lore.kernel.org/20240904115823.74333648@canb.auug.org.au
Adjacent changes:
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
858430db28a5 ("net: xilinx: axienet: Fix race in axienet_stop")
76abb5d675c4 ("net: xilinx: axienet: Add statistics support")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 7c4a09455493..560e338b307a 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -3423,11 +3423,13 @@ static int of_phy_leds(struct phy_device *phydev) for_each_available_child_of_node_scoped(leds, led) { err = of_phy_led(phydev, led); if (err) { + of_node_put(leds); phy_leds_unregister(phydev); return err; } } + of_node_put(leds); return 0; } |