ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
stable inclusion from stable-v5.10.118 commit d4c6e5cebcf5b5d4f90d61074fdbb1cdcb7cdc60 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L686 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d4c6e5cebcf5b5d4f90d61074fdbb1cdcb7cdc60 -------------------------------- [ Upstream commit 51ca86b4 ] 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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment