From: Dan Carpenter <dan.carpen...@oracle.com> Date: Wed, 25 Sep 2019 14:01:00 +0300
> The "iface" variable is an enum and in this context GCC treats it as > an unsigned int so the error handling is never triggered. > > Fixes: b78624125304 ("of_mdio: Abstract a general interface for phy connect") > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Applied.