Skip to content
Commit 0a03f3c5 authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller
Browse files

octeon_ep: fix error return code in octep_probe()



If register_netdev() fails , it should return error
code in octep_probe().

Fixes: 862cd659 ("octeon_ep: Add driver framework and device initialization")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 48b48b65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment