Re: [PATCH] amd-xgbe: Fix error path in xgbe_mod_init()

From: David Miller
Date: Fri Aug 30 2019 - 17:15:53 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 29 Aug 2019 10:46:00 +0800

> In xgbe_mod_init(), we should do cleanup if some error occurs
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Fixes: efbaa828330a ("amd-xgbe: Add support to handle device renaming")
> Fixes: 47f164deab22 ("amd-xgbe: Add PCI device support")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.