Re: [PATCH net] net: phy: reject non-PHY mdio devices in phy_connect()
From: Ziheng Wei
Date: Sun Nov 15 2026 - 11:43:33 EST
On Sun, Nov 15, 2026 at 05:30:15PM +0100, Andrew Lunn wrote:
> > Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")
> > Cc: stable@xxxxxxxxxxxxxxx
>
> Who does this bother?
Nobody that I know of. I found it by reading the code and could only
trigger it with a test module that registers a bare mdio_device at the
address passed to phy_connect(). I am not aware of a board or driver
that does this, so it does not belong in net or stable.
If you think the check is still worth having as hardening, I can send
it to net-next without the Fixes and stable tags. Otherwise please
drop it.
Thanks,
Ziheng