Yang Yingliang 26cddc3107 net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
[ Upstream commit 0807ce0b010418a191e0e4009803b2d74c3245d5 ]

Switch to using pcim_enable_device() to avoid missing pci_disable_device().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220510031316.1780409-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 08:39:50 +02:00
..
2021-12-14 10:04:48 +01:00
2021-11-26 11:48:20 +01:00
2022-03-02 11:32:03 +01:00
2022-05-12 12:14:53 +02:00
2020-12-29 13:45:00 +01:00
2022-04-20 09:06:42 +02:00