diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-04-15 05:39:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-15 13:49:20 +0300 |
commit | 0a03f3c511f57da4d7159a150f1ab4b87f62c040 (patch) | |
tree | ed307988cf6abbc63d22f4e176c5fb9f778b7639 /net/ethtool | |
parent | 48b48b654c2213e102aa939c15cadb5a5172d100 (diff) | |
download | linux-0a03f3c511f57da4d7159a150f1ab4b87f62c040.tar.xz |
octeon_ep: fix error return code in octep_probe()
If register_netdev() fails , it should return error
code in octep_probe().
Fixes: 862cd659a6fb ("octeon_ep: Add driver framework and device initialization")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions