From: Alexey Brodkin <[email protected]> Date: Wed, 9 Sep 2015 18:01:08 +0300
> Current check of phydev with IS_ERR(phydev) may make not much sense > because of_phy_connect() returns NULL on failure instead of error value. > > Still for checking result of phy_connect() IS_ERR() makes perfect sense. > > So let's use combined check IS_ERR_OR_NULL() that covers both cases. > > Cc: Sergei Shtylyov <[email protected]> > Cc: Giuseppe Cavallaro <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: David Miller <[email protected]> > Signed-off-by: Alexey Brodkin <[email protected]> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
