]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 6 May 2022 09:42:50 +0000 (17:42 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 9 May 2022 22:52:38 +0000 (15:52 -0700)
commit4123a68a22fda44cf83ad7345e53791019e69f50
treec3727cb7625274040fa7b1571a04c5b69cfdcd61
parente7913a261c6c21e2ab55f68e4d43f367bb924412
ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()

Fix the missing pci_disable_device() before return
from tulip_init_one() in the error handling case.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220506094250.3630615-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/dec/tulip/tulip_core.c