summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2026-06-04 11:28:16 +0200
committerJakub Kicinski <kuba@kernel.org>2026-06-08 17:43:27 -0700
commitb1e780bb37c641d8291c51d7b4bde33450d18fb4 (patch)
tree0149de970ea9c28269d73273c8a65c41a71a0290 /include/linux
parent48774e87bbaa0056819d4b52301e4692e50e3252 (diff)
net: phy: remove phy ports upon probe failure
When phy_probe fails, let's clean the phy_ports that were successfully added already. Suggested-by: Nicolai Buchwitz <nb@tipi-net.de> Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de> Fixes: 589e934d2735 ("net: phy: Introduce PHY ports representation") Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20260604092819.723505-3-maxime.chevallier@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions