Quoting Andrew Lunn (2022-05-10 17:08:07)OK, I'll try to improve the whole driver and send a patch set for this.
But i doubt this impacts real users. MDIO tends to either work or notRight. On top of that there are other calls to __phy_read in this driver
work at all. And not working is pretty noticeable, and nobody has
reported issues.
not checking the returned value. Plus all __phy_write calls. If that was
found by code inspection I would suggest to improve the whole driver and
not this function alone.