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

ethernet: broadcom/sb1250-mac: remove BUG_ON in sbmac_probe()



Replace the BUG_ON() with returning error code to handle
the fault more gracefully.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 985e254c
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