Re: [PATCH net-next v6 1/4] net: phy: Map C45 probe read errors to -ENODEV during bus scan
From: Florian Fainelli
Date: Tue Nov 24 2026 - 13:28:47 EST
On 11/24/2026 8:49 AM, netdev-bot+sashiko@xxxxxxxxxx wrote:
Thank you for your contribution! Sashiko AI review found 4 potential
issue(s) to consider.
Critical: 0 · High: 0 · Medium: 2 · Low: 2
If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).
- [Medium] The commit message describes the SFP impact wrongly.
Agreed this was wrong. mdio-i2c reports an absent PHY as 0xffff so only a Rollball I2C transport error is affected, reworded in v7.
- [Medium] get_phy_c45_devs_in_pkg() reads MDIO_DEVS2 and then
MDIO_DEVS1, and returns the raw bus error from whichever read fails.
Agreed, only a MDIO_DEVS2 failure is mapped to -ENODEV now, a MDIO_DEVS1 failure stays as -EIO.
- [Low] The commit message says errors from the vendor MMD presence check
in the identifier loop "are not mapped, so a PHY that fails midway is…
The vendor-MMD error path predates this patch. I dropped the "not silently skipped" claim for it rather than changing its behavior.
- [Low] When a devices-in-package read in the MMD search loop of
get_phy_c45_ids() fails with -EIO/-ENODEV, the new code breaks out of…
We are not continuing the loop. The vendor MMD presence check would return -ENODEV at MMD 30 and end the scan before the MMD 0 fallback, which would break PHYs that only answer on MMD 0. I noted that in the commit message.
pw-bot:cr
--
Florian