diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-04-25 11:36:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-25 13:48:06 -0400 |
commit | 5e1fc7c5ba00599ccd7096eef3e9fd3362c1230f (patch) | |
tree | 3027d2f9dd089c2e2475fdcf40e688729b47f4dd /net/wireless | |
parent | b5cdae3291f7be7a34e75affe4c0ec1f7f328b64 (diff) | |
download | linux-5e1fc7c5ba00599ccd7096eef3e9fd3362c1230f.tar.gz linux-5e1fc7c5ba00599ccd7096eef3e9fd3362c1230f.tar.bz2 linux-5e1fc7c5ba00599ccd7096eef3e9fd3362c1230f.zip |
drivers: net: xgene-v2: Fix error return code in xge_mdio_config()
Fix to return error code -ENODEV from the no PHY found error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions