Re: [PATCH 03/17] net: phy: Attach generic PHY drivers through the driver core
From: Andrew Lunn
Date: Thu Nov 05 2026 - 10:49:12 EST
> + if (err == -EBUSY) {
> + /* Another bind owns the PHY, so nothing was probed here. */
> + irq = phydev->irq;
> + err = -EPROBE_DEFER;
> + } else if (err == -EAGAIN) {
> + err = -EPROBE_DEFER;
You cannot return -EPROBE_DEFER here. You are not guaranteed to be in
the context of a probe. Very likely, you are in the middle of the
ethernet drives open() call. Both probes happened a long time ago.
Andrew