ARM: wire up new pkey syscalls
[cascardo/linux.git] / drivers / acpi / apei / ghes.c
index 60746ef..f0a029e 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