From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Wed, 25 Sep 2019 14:05:24 +0300 > The "priv->phy_mode" is an enum and in this context GCC will treat it > as an unsigned int so it can never be less than zero. > > Fixes: 492caffa8a1a ("net: ethernet: nixge: Add support for National Instruments XGE netdev") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied.