From: Adrian Huang Date: Fri, 14 Dec 2012 23:30:07 +0000 (+0100) Subject: ACPI / APEI: Fix the returned value in erst_dbg_read X-Git-Tag: v3.8-rc3~9^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6780aa683d4d83ed887dd07b7987947d339d76f1;p=pandora-kernel.git ACPI / APEI: Fix the returned value in erst_dbg_read If the persistent store is empty initially, the function 'erst_dbg_read' returns a nonzero value. The better way is to return a zero indicating the read operation reaches EOF. Tested on two different servers. Signed-off-by: Adrian Huang Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed