linux-sg2042/drivers/acpi/apei
Punit Agrawal 806487a8fc ACPI / APEI: Fix incorrect return value of ghes_proc()
Although ghes_proc() tests for errors while reading the error status,
it always return success (0). Fix this by propagating the return
value.

Fixes: d334a49113 (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>
2016-10-24 14:32:14 +02:00
..
Kconfig acpi, apei, ghes: Make NMI error notification to be GHES architecture extension. 2014-07-22 15:05:06 -07:00
Makefile ACPI / APEI: Add Boot Error Record Table (BERT) support 2016-06-29 23:35:05 +02:00
apei-base.c ACPI / APEI: Fix leaked resources 2016-03-11 00:13:25 +01:00
apei-internal.h ACPI / APEI: Add Boot Error Record Table (BERT) support 2016-06-29 23:35:05 +02:00
bert.c ACPI / APEI: Add Boot Error Record Table (BERT) support 2016-06-29 23:35:05 +02:00
einj.c ACPI / einj: Make error paths more talkative 2016-06-23 23:41:38 +02:00
erst-dbg.c ACPI: Remove FSF mailing addresses 2015-07-08 02:27:32 +02:00
erst.c pstore: Split pstore fragile flags 2016-09-08 15:01:08 -07:00
ghes.c ACPI / APEI: Fix incorrect return value of ghes_proc() 2016-10-24 14:32:14 +02:00
hest.c ACPI: Remove FSF mailing addresses 2015-07-08 02:27:32 +02:00