ACPI, APEI, GHES: Cleanup ghes memory error handling
authorChen, Gong <gong.chen@linux.intel.com>
Mon, 25 Nov 2013 07:15:01 +0000 (02:15 -0500)
committerBorislav Petkov <bp@suse.de>
Sat, 21 Dec 2013 12:35:59 +0000 (13:35 +0100)
commitca104edc17841da87850b20ab77e57fe0a99ead6
treec4b060f5a76ba0a304bbec60314adffba5dbc5d4
parentd3ab3edc029bf79b09f91d6a22881c24ecaeb000
ACPI, APEI, GHES: Cleanup ghes memory error handling

Cleanup the logic in ghes_handle_memory_failure(). While at it, add
proper PFN validity check for UC error and cleanup the code logic to
make it simpler and cleaner.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1385363701-12387-2-git-send-email-gong.chen@linux.intel.com
[ Boris: massage commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/acpi/apei/ghes.c