Re: [PATCH] net: phy: only remove owned topology entries

From: Andrew Lunn

Date: Wed Oct 28 2026 - 09:00:08 EST


On Wed, Oct 28, 2026 at 01:03:12PM +0800, Jiale Yao wrote:
> phy_link_topo_add_phy() can fail to insert a PHY when its saved index is
> already occupied.

How did you get into this state? It indicates there is another bug
somewhere which needs fixing. Fixing that bug is much more important.

Andrew