Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] The commit message for "net: ethernet: smsc911x: propagate mdiobus_register() errors" gives a reason for the change that the code… -- net: ethernet: smsc911x: propagate mdiobus_register() errors This patch changes smsc911x_mii_init() to return the error code from mdiobus_register(). Before, every registration failure was turned into the initial -ENXIO.
> mdiobus_register() can return -EPROBE_DEFER. Return that error instead > of converting every failure to the initial -ENXIO so the driver can > defer correctly when probed from async context.
[Severity: Low] Is the "probed from async context" reasoning accurate here? The driver core handles -EPROBE_DEFER the same way for synchronous and asynchronous probing. In both cases really_probe() puts the device on the deferred list. smsc911x_driver also does not set .probe_type: drivers/net/ethernet/smsc/smsc911x.c: static struct platform_driver smsc911x_driver = { .probe = smsc911x_drv_probe, .remove = smsc911x_drv_remove, .driver = { .name = SMSC_CHIPNAME, ... For in-tree users, can mdiobus_register() return -EPROBE_DEFER at all? smsc911x_mii_init() only sets mii_bus->parent, so bus->dev has no fwnode/of_node. That leaves two places in __mdiobus_register() that could defer: devm_gpiod_get_optional(&bus->dev, "reset", ...) and the per-PHY gpiod/reset lookups during the bus scan. Both depend on board lookup tables keyed on names like "smsc911x-<id>" or "smsc911x-<id>:01". A tree-wide search did not find any such tables. The change itself looks like a reasonable cleanup. smsc911x_drv_probe() now gets the real error (-EINVAL, -EIO, -ENOMEM, or -EPROBE_DEFER in board-file or out-of-tree setups) instead of a fixed -ENXIO. Could the commit message describe it that way and drop the async context wording? That would keep the patch from being read as a fix for a real deferral bug, for example when selecting stable backports. The lantiq_etop and smsc9420 patches in this series use the same wording.
-- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/2026…%40163.com