diff options
| author | Huang Ying <[email protected]> | 2010-09-29 11:53:51 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2010-09-29 17:59:18 +0000 |
| commit | 3a78f965328482eee542217de79036c2a8791de8 (patch) | |
| tree | cf1cbcdc8e4a67b92f503b5eb9cb403fd113b0c7 /lib/dynamic_debug.c | |
| parent | Linux 2.6.36-rc6 (diff) | |
| download | kernel-3a78f965328482eee542217de79036c2a8791de8.tar.gz kernel-3a78f965328482eee542217de79036c2a8791de8.zip | |
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 <[email protected]>
Signed-off-by: Huang Ying <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
