diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-12 14:53:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 14:41:25 +0200 |
commit | 8d3de2b47e5311f5efd3761703caa2bc87db2e06 (patch) | |
tree | 9d5dc56cbf5d95e5a43b13b583c401da3e0b9d6f /include/linux/ptp_clock_kernel.h | |
parent | a670a78fb1806eb3910b28eb2585478496f1dab0 (diff) | |
download | linux-stable-8d3de2b47e5311f5efd3761703caa2bc87db2e06.tar.gz linux-stable-8d3de2b47e5311f5efd3761703caa2bc87db2e06.tar.bz2 linux-stable-8d3de2b47e5311f5efd3761703caa2bc87db2e06.zip |
netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
[ Upstream commit 49a10c7b176295f8fafb338911cf028e97f65f4d ]
If an error occurs after a 'pci_enable_pcie_error_reporting()' call, it
must be undone by a corresponding 'pci_disable_pcie_error_reporting()'
call, as already done in the remove function.
Fixes: e87ad5539343 ("netxen: support pci error handlers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/ptp_clock_kernel.h')
0 files changed, 0 insertions, 0 deletions