diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-06-12 14:53:12 +0200 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:48:19 -0400 |
| commit | dc9b44464b9ed86fdc60b1d8021d85b4274f5e62 (patch) | |
| tree | 10bf90d2a353cff5daa3a49b8264528b23093b9b /include/linux/path.h | |
| parent | ac2e10e26f2939312f86bc0d35fc9b2f80b513e4 (diff) | |
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/path.h')
0 files changed, 0 insertions, 0 deletions
