From: Huang Ying Date: Wed, 29 Sep 2010 11:53:51 +0000 (+0800) Subject: ACPI, APEI, Fix APEI related table size checking X-Git-Tag: v2.6.36-rc7~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a78f965328482eee542217de79036c2a8791de8;p=pandora-kernel.git 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 Signed-off-by: Huang Ying Signed-off-by: Len Brown --- Reading git-diff-tree failed