2022-06-29 11:04:04

by Zhuo Chen

[permalink] [raw]
Subject: [PATCH] ice: Remove pci_aer_clear_nonfatal_status() call

After 62b36c3 ("PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status()
calls"), Calls to pci_cleanup_aer_uncorrect_error_status() have already
been removed. But in 5995b6d pci_cleanup_aer_uncorrect_error_status was
used again, so remove it in this patch.

Signed-off-by: Zhuo Chen <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Sen Wang <[email protected]>
Cc: Wenliang Wang <[email protected]>
---
drivers/net/ethernet/intel/ice/ice_main.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index c1ac2f746714..6bf6d8b5a967 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -5313,12 +5313,6 @@ static pci_ers_result_t ice_pci_err_slot_reset(struct pci_dev *pdev)
result = PCI_ERS_RESULT_DISCONNECT;
}

- err = pci_aer_clear_nonfatal_status(pdev);
- if (err)
- dev_dbg(&pdev->dev, "pci_aer_clear_nonfatal_status() failed, error %d\n",
- err);
- /* non-fatal, continue */
-
return result;
}

--
2.20.1


2022-07-05 15:03:03

by G, GurucharanX

[permalink] [raw]
Subject: RE: [Intel-wired-lan] [PATCH] ice: Remove pci_aer_clear_nonfatal_status() call



> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Zhuo Chen
> Sent: Wednesday, June 29, 2022 3:34 PM
> To: Brandeburg, Jesse <[email protected]>; Nguyen, Anthony L
> <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected]; intel-
> [email protected]
> Cc: [email protected]; Zhuo Chen <[email protected]>;
> Sen Wang <[email protected]>; [email protected];
> Muchun Song <[email protected]>; Wenliang Wang
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH] ice: Remove
> pci_aer_clear_nonfatal_status() call
>
> After 62b36c3 ("PCI/AER: Remove
> pci_cleanup_aer_uncorrect_error_status()
> calls"), Calls to pci_cleanup_aer_uncorrect_error_status() have already been
> removed. But in 5995b6d pci_cleanup_aer_uncorrect_error_status was used
> again, so remove it in this patch.
>
> Signed-off-by: Zhuo Chen <[email protected]>
> Cc: Muchun Song <[email protected]>
> Cc: Sen Wang <[email protected]>
> Cc: Wenliang Wang <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 6 ------
> 1 file changed, 6 deletions(-)
>

Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)