On Thu, Jun 23, 2022 at 04:34:03PM +0300, Dan Carpenter wrote: > There is a copy and paste bug in lan743x_sgmii_config() so it checks > if (ret < 0) instead of if (mii_ctl < 0). > > Fixes: 46b777ad9a8c ("net: lan743x: Add support to SGMII 1G and 2.5G") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew