From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Wed, 25 Sep 2019 13:59:11 +0300 > The "lp->phy_mode" is an enum but in this context GCC treats it as an > unsigned int so the error handling is never triggered. > > Fixes: ee06b1728b95 ("net: axienet: add support for standard phy-mode binding") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied.