Commits
![YueHaibing](https://secure.gravatar.com/avatar/99fadc7a66f85bd5c0262cb31d311d89.jpg?s=96&d=mm)
YueHaibing committed b6b4dc4c1fa
amd-xgbe: Fix error path in xgbe_mod_init() In xgbe_mod_init(), we should do cleanup if some error occurs Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: efbaa828330a ("amd-xgbe: Add support to handle device renaming") Fixes: 47f164deab22 ("amd-xgbe: Add PCI device support") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>