Skip to content
Commit b6b4dc4c authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

amd-xgbe: Fix error path in xgbe_mod_init()



In xgbe_mod_init(), we should do cleanup if some error occurs

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: efbaa828 ("amd-xgbe: Add support to handle device renaming")
Fixes: 47f164de

 ("amd-xgbe: Add PCI device support")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86932653
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment