]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / APEI: Send correct severity to calculate AER severity
authorTyler Baicar <tbaicar@codeaurora.org>
Wed, 14 Sep 2016 21:14:46 +0000 (15:14 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 20 Sep 2016 19:36:59 +0000 (14:36 -0500)
commit1924a269fcea5d8c738a9de09591542a977a827c
tree21c068d1cf7e24e15117859b36017d209192c43a
parent6f2a74aba7dea65d77660297f7bae08caf2db24a
ACPI / APEI: Send correct severity to calculate AER severity

Currently the AER severity is calculated by calling cper_severity_to_aer(),
but the parameter sent is actually the GHES severity.  This causes the AER
severity to be incorrect.

Fix the parameter to be the CPER severity instead of the GHES severity.

Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
drivers/acpi/apei/ghes.c