diff options
| author | Punit Agrawal <[email protected]> | 2016-10-18 16:07:19 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-10-24 12:32:14 +0000 |
| commit | 806487a8fc8f385af75ed261e9ab658fc845e633 (patch) | |
| tree | 8cb1d8793943fade00a2f460f85e7822d99a0be5 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Linux 4.9-rc2 (diff) | |
| download | kernel-806487a8fc8f385af75ed261e9ab658fc845e633.tar.gz kernel-806487a8fc8f385af75ed261e9ab658fc845e633.zip | |
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: d334a49113a4a33 (ACPI, APEI, Generic Hardware Error Source memory error support)
Signed-of-by: Punit Agrawal <[email protected]>
Tested-by: Tyler Baicar <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
