From: Punit Agrawal Date: Tue, 18 Oct 2016 16:07:19 +0000 (+0100) Subject: ACPI / APEI: Fix incorrect return value of ghes_proc() X-Git-Tag: v3.2.85~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de9a7cc6c067303161f2db55a0e716b6406c9a09;p=pandora-kernel.git 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 Tested-by: Tyler Baicar Reviewed-by: Borislav Petkov [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed