1In kernel 5.7 the pci_cleanup_aer_uncorrect_error_status() function was
2renamed with the following commit:
3
4git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=894020fdd88c1e9a74c60b67c0f19f1c7696ba2f
5
6This simply updates the function call with the proper name (pci_aer_clear_nonfatal_status()).
7
8---
9diff --git a/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c b/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c
10index a6ce6df..545bb79 100644
11--- a/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c
12+++ b/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c
13@@ -304,7 +304,7 @@ static pci_ers_result_t adf_slot_reset(struct pci_dev *pdev)
14 		pr_err("QAT: Can't find acceleration device\n");
15 		return PCI_ERS_RESULT_DISCONNECT;
16 	}
17-	pci_cleanup_aer_uncorrect_error_status(pdev);
18+	pci_aer_clear_nonfatal_status(pdev);
19 	if (adf_dev_aer_schedule_reset(accel_dev, ADF_DEV_RESET_SYNC))
20 		return PCI_ERS_RESULT_DISCONNECT;
21