linux-stable/drivers/acpi/apei
Huang Ying 3a78f96532 ACPI, APEI, Fix APEI related table size checking
On Huang Ying's machine:

erst_tab->header_length == sizeof(struct acpi_table_einj)

but Yinghai reported that on his machine,

erst_tab->header_length == sizeof(struct acpi_table_einj) -
sizeof(struct acpi_table_header)

To make erst table size checking code works on all systems, both
testing are treated as PASS.

Same situation applies to einj_tab->header_length, so corresponding
table size checking is changed in similar way too.

v2:

- Treat both table size as valid

Originally-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-09-29 13:59:18 -04:00
..
apei-base.c ACPI, APEI, Fix a typo of error path of apei_resources_request 2010-08-08 14:55:12 -04:00
apei-internal.h ACPI, APEI, UEFI Common Platform Error Record (CPER) header 2010-05-19 22:41:05 -04:00
cper.c ACPI, APEI, UEFI Common Platform Error Record (CPER) header 2010-05-19 22:41:05 -04:00
einj.c ACPI, APEI, Fix APEI related table size checking 2010-09-29 13:59:18 -04:00
erst-dbg.c ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00
erst.c ACPI, APEI, Fix APEI related table size checking 2010-09-29 13:59:18 -04:00
ghes.c ACPI, APEI, Manage GHES as platform devices 2010-08-08 14:55:52 -04:00
hest.c ACPI, APEI, Manage GHES as platform devices 2010-08-08 14:55:52 -04:00
Kconfig ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00