]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix an error handling path in 'ixgbe_probe()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 12 Jun 2021 13:46:09 +0000 (15:46 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 1 Jul 2021 17:53:22 +0000 (10:53 -0700)
commit08b93eb74bb09e67a4342d2191549264a884896d
treeb9666cf65f434639baa1fcf37e05a637d5a8f047
parent0d0b5218f18fbfb61d29dea164f44e3bd3b04991
ixgbe: Fix an error handling path in 'ixgbe_probe()'

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: 3f57a039ad0e ("ixgbe: Implement PCIe AER support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c