FADT: Fix extraneous length mismatch warning.

Incorrect register length mismatch between the 32 and 64 bit
registers in some cases. Code was was checking the wrong pointer
for non-zero, should be looking at the address within the GAS
structure.
This commit is contained in:
Robert Moore 2009-03-05 16:03:18 -08:00
parent ead71a2916
commit 9f849c6ae7

View File

@ -585,7 +585,8 @@ AcpiTbValidateFadt (
* For each extended field, check for length mismatch between the
* legacy length field and the corresponding 64-bit X length field.
*/
if (Address64 && (Address64->BitWidth != ACPI_MUL_8 (Length)))
if (Address64->Address &&
(Address64->BitWidth != ACPI_MUL_8 (Length)))
{
ACPI_WARNING ((AE_INFO,
"32/64X length mismatch in %s: %d/%d",