summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-08-16 01:34:57 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-16 02:16:10 +0300
commit64721094b9a966c8e02d2b03729e5093471f9d1c (patch)
treee99ef0a89e69d6d2caeadf61aa8a409a25a689d0 /drivers/net/ethernet/qlogic
parentcfaace269d0ce5a4ae26bfe442f1c4df1a9558de (diff)
downloadlinux-64721094b9a966c8e02d2b03729e5093471f9d1c.tar.xz
net: phy: Fix return value check in xgmiitorgmii_probe()
In case of error, the function of_parse_phandle() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
0 files changed, 0 insertions, 0 deletions