Skip to content
Commit 51ca86b4 authored by Yang Yingliang's avatar Yang Yingliang Committed by Jakub Kicinski
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220506094250.3630615-1-yangyingliang@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent e4b1045b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment