]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ACPI / APEI: Remove spurious GHES_TO_CLEAR check
authorJames Morse <james.morse@arm.com>
Tue, 29 Jan 2019 18:48:43 +0000 (18:48 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 28 Mar 2019 20:05:20 +0000 (15:05 -0500)
commitcb69386c2af91c3b195b6ecfa9ef51d363957eac
treeb1decbf93fe0d90dc15b0f8c27df6761c6fbf443
parentfab0802fcf6cb6e7a16bb3cd579bd6943a63f33c
ACPI / APEI: Remove spurious GHES_TO_CLEAR check

BugLink: https://bugs.launchpad.net/bugs/1822005
ghes_notify_nmi() checks ghes->flags for GHES_TO_CLEAR before going
on to __process_error(). This is pointless as ghes_read_estatus()
will always set this flag if it returns success, which was checked
earlier in the loop. Remove it.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 7d49f2c75af22f980fd716a13634a16cfb7dd8a7)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/acpi/apei/ghes.c