Skip to content
Commit 1ffc4b7c authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

net: ll_temac: Fix an NULL vs IS_ERR() check in temac_open()



The phy_connect() function doesn't return NULL pointers.  It returns
error pointers on error, so I have updated the check.

Fixes: 8425c41d ("net: ll_temac: Extend support to non-device-tree platforms")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fdd1a810
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment