Skip to content

net: phy: fix of_node and device leaks

Johan Hovold lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of_mdio: fix node leak in of_phy_register_fixed_link error pathdrivers/of/of_mdio.c+4 -10 replies
2/3of_mdio: fix device reference leak in of_phy_find_devicedrivers/of/of_mdio.c+1 -00 replies
3/3net: phy: fixed_phy: fix of_node leak in fixed_phy_unregisterdrivers/net/phy/fixed_phy.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/3] net: phy: fix of_node and device leaks

These patches fix a couple of of_node leaks in the fixed-link code and a device reference leak in a phy helper.

Johan

Johan Hovold (3):
of_mdio: fix node leak in of_phy_register_fixed_link error path
of_mdio: fix device reference leak in of_phy_find_device
net: phy: fixed_phy: fix of_node leak in fixed_phy_unregister

 drivers/net/phy/fixed_phy.c | 2 +-
 drivers/of/of_mdio.c        | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.3