jianhai / rpms / kernel

Forked from rpms/kernel 3 years ago
Clone
6eda94
centosplus patch [bug#16315]
6eda94
6eda94
Written-by: Pablo Greco <pablo@fliagreco.com.ar>
6eda94
Applied-by: Akemi Yagi <toracat@centos.org>
6eda94
6eda94
6eda94
diff -Naurp a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
6eda94
--- a/drivers/acpi/apei/ghes.c	2019-07-09 13:13:02.000000000 -0300
6eda94
+++ b/drivers/acpi/apei/ghes.c	2019-08-04 10:03:00.974164494 -0300
6eda94
@@ -461,9 +461,7 @@ static void ghes_do_proc(struct ghes *gh
6eda94
 				      CPER_SEC_PCIE)) {
6eda94
 			struct cper_sec_pcie *pcie_err;
6eda94
 			pcie_err = (struct cper_sec_pcie *)(gdata+1);
6eda94
-			if (sev == GHES_SEV_RECOVERABLE &&
6eda94
-			    sec_sev == GHES_SEV_RECOVERABLE &&
6eda94
-			    pcie_err->validation_bits & CPER_PCIE_VALID_DEVICE_ID &&
6eda94
+			if (pcie_err->validation_bits & CPER_PCIE_VALID_DEVICE_ID &&
6eda94
 			    pcie_err->validation_bits & CPER_PCIE_VALID_AER_INFO) {
6eda94
 				unsigned int devfn;
6eda94
 				int aer_severity;