]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/acpi/apei/ghes.c
ACPI / APEI: Send correct severity to calculate AER severity
[mirror_ubuntu-zesty-kernel.git] / drivers / acpi / apei / ghes.c
index 60746ef904e495e382bfa5efe773e62371d46a6d..f0a029e68d3e2989b7e3ad79a02d1d0c36e1b0f4 100644 (file)
@@ -457,7 +457,7 @@ static void ghes_do_proc(struct ghes *ghes,
 
                                devfn = PCI_DEVFN(pcie_err->device_id.device,
                                                  pcie_err->device_id.function);
-                               aer_severity = cper_severity_to_aer(sev);
+                               aer_severity = cper_severity_to_aer(gdata->error_severity);
 
                                /*
                                 * If firmware reset the component to contain