Messages in this thread | | | From | "Brelinski, TonyX" <> | Subject | RE: [Intel-wired-lan] [PATCH] igb: Fix an error handling path in 'igb_probe()' | Date | Fri, 25 Jun 2021 22:39:44 +0000 |
| |
> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf Of > Christophe JAILLET > Sent: Saturday, June 12, 2021 1:09 PM > To: Brandeburg, Jesse <jesse.brandeburg@intel.com>; Nguyen, Anthony L > <anthony.l.nguyen@intel.com>; davem@davemloft.net; kuba@kernel.org; > jeffrey.t.kirsher@intel.com; alexander.h.duyck@intel.com > Cc: netdev@vger.kernel.org; kernel-janitors@vger.kernel.org; Christophe > JAILLET <christophe.jaillet@wanadoo.fr>; intel-wired-lan@lists.osuosl.org; > linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] igb: Fix an error handling path in > 'igb_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: 40a914fa72ab ("igb: Add support for pci-e Advanced Error Reporting") > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > drivers/net/ethernet/intel/igb/igb_main.c | 1 + > 1 file changed, 1 insertion(+)
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> (A Contingent Worker at Intel)
| |