On Thu, 26 Feb 2026 22:16:36 +0530 Ashok Kumar Natarajan <[email protected]> wrote:
> + ret = pdata->hw_if.read_ext_mii_regs_c22(pdata, > + phy_data->mdio_addr, reg, value); > + if (ret) > + PMD_DRV_LOG_LINE(ERR, "mdio read failed %s", > + strerror(ret)); Shouldn't this be strerror(-ret) here? It looks like the driver uses the negative errno values to indicate errors.

