Thread (5 messages) flat view 5 messages, 3 authors, 3d ago
WARM3d

[PATCH net v1 0/2] net: phy: fix driver cleanup after probe failure

From: Xuanqiang Luo <hidden>
Date: 2026-08-12 12:51:56
Also in: lkml

From: Xuanqiang Luo <redacted>

Patch 1 splits the phy_probe() error paths and makes phy_setup_ports()
unwind its own resources.

Patch 2 calls the PHY driver remove callback when phy_probe() fails after
the driver probe callback succeeds.

Xuanqiang Luo (2):
  net: phy: split phy_probe() error paths
  net: phy: call driver remove when core initialization fails

 drivers/net/phy/phy_device.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)


base-commit: db2ddb87143519e20a95aa36c60b36107b736a58
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help