Re: [Intel-wired-lan] [PATCH] igc: Fix an error handling path in 'igc_probe()'

From: Fuxbrumer, Dvora
Date: Mon Jun 21 2021 - 08:20:22 EST


On 6/12/2021 23:00, Christophe JAILLET wrote:
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: c9a11c23ceb6 ("igc: Add netdev")
Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
drivers/net/ethernet/intel/igc/igc_main.c | 1 +
1 file changed, 1 insertion(+)

Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@xxxxxxxxxxxxxxx>