]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / APEI: fix error status check condition for CPER
authorChen Gong <gong.chen@linux.intel.com>
Tue, 19 Mar 2013 06:48:07 +0000 (06:48 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 26 Mar 2013 23:05:46 +0000 (00:05 +0100)
commitac796f21c6acfc6eb00dee18c214b67a260555c8
treef11f4d597e1fb352cc67f6f9428951d44ecc4300
parenta6e8c9ce7f28a73afe446bfccc635b4855b9ceb5
ACPI / APEI: fix error status check condition for CPER

In Table 18-289, ACPI5.0 SPEC, the error data length in CPER
Generic Error Data Entry can be 0, which means this generic
error data entry can have only one header. So fix the check
conditon for it.

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Reviewed-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/cper.c