diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-05-10 11:13:16 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-10 19:12:57 -0700 |
commit | 0807ce0b010418a191e0e4009803b2d74c3245d5 (patch) | |
tree | c5d1e04f1e506525aa6d1554582cda40094fc146 /drivers/char/lp.c | |
parent | 12a4d677b1c34717443470c1492fe520638ef39a (diff) | |
download | linux-0807ce0b010418a191e0e4009803b2d74c3245d5.tar.bz2 |
net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
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>
Diffstat (limited to 'drivers/char/lp.c')
0 files changed, 0 insertions, 0 deletions