diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2016-10-18 19:07:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-18 12:48:37 +0300 |
commit | 125e84726d7c61cf10c5eb1b2e6c6df4b3fb3924 (patch) | |
tree | 49df898dde25ff20cdc2632b02624d4281f031bf /lib/mpi/mpiutil.c | |
parent | 5cd2cd84d573487d35e6ffb232046949129ab645 (diff) | |
download | linux-125e84726d7c61cf10c5eb1b2e6c6df4b3fb3924.tar.xz |
ACPI / APEI: Fix incorrect return value of ghes_proc()
commit 806487a8fc8f385af75ed261e9ab658fc845e633 upstream.
Although ghes_proc() tests for errors while reading the error status,
it always return success (0). Fix this by propagating the return
value.
Fixes: d334a49113a4a33 (ACPI, APEI, Generic Hardware Error Source memory error support)
Signed-of-by: Punit Agrawal <punit.agrawa.@arm.com>
Tested-by: Tyler Baicar <tbaicar@codeaurora.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions