diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-31 18:34:15 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-01 12:27:12 -0700 |
commit | 2e8f205d910eb1fc59faf24582f3faf774000360 (patch) | |
tree | 3de07c6d11cdcd5963c408c930e11015e82302a8 /net | |
parent | 062cf5ebc2e8ca8afb9908072493dea314f62862 (diff) | |
download | lwn-2e8f205d910eb1fc59faf24582f3faf774000360.tar.gz lwn-2e8f205d910eb1fc59faf24582f3faf774000360.zip |
net: txgbe: Fix an error handling path in txgbe_probe()
A pci_enable_pcie_error_reporting() should be balanced by a corresponding
pci_disable_pcie_error_reporting() call in the error handling path, as
already done in the remove function.
Fixes: 3ce7547e5b71 ("net: txgbe: Add build support for txgbe")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://lore.kernel.org/r/082003d00be1f05578c9c6434272ceb314609b8e.1659285240.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions