diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-06-04 12:28:16 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-09 03:43:27 +0300 |
| commit | b1e780bb37c641d8291c51d7b4bde33450d18fb4 (patch) | |
| tree | 0149de970ea9c28269d73273c8a65c41a71a0290 /include/linux | |
| parent | 48774e87bbaa0056819d4b52301e4692e50e3252 (diff) | |
| download | linux-b1e780bb37c641d8291c51d7b4bde33450d18fb4.tar.xz | |
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
