]> git.karo-electronics.de Git - linux-beck.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)
commit2458d66b245e39786bc5b51062e6d30aa5ad0282
tree21c068d1cf7e24e15117859b36017d209192c43a
parent95c35491f663962e476179076d24d0d2c45a8fb5
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