diff options
Diffstat (limited to 'drivers/acpi/acpica/tbfadt.c')
-rw-r--r-- | drivers/acpi/acpica/tbfadt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c index f43fbe0fc3fc..1728cb9bf600 100644 --- a/drivers/acpi/acpica/tbfadt.c +++ b/drivers/acpi/acpica/tbfadt.c | |||
@@ -283,7 +283,7 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) | |||
283 | if (length > sizeof(struct acpi_table_fadt)) { | 283 | if (length > sizeof(struct acpi_table_fadt)) { |
284 | ACPI_WARNING((AE_INFO, | 284 | ACPI_WARNING((AE_INFO, |
285 | "FADT (revision %u) is longer than ACPI 2.0 version, " | 285 | "FADT (revision %u) is longer than ACPI 2.0 version, " |
286 | "truncating length 0x%X to 0x%X", | 286 | "truncating length %u to %u", |
287 | table->revision, length, | 287 | table->revision, length, |
288 | (u32)sizeof(struct acpi_table_fadt))); | 288 | (u32)sizeof(struct acpi_table_fadt))); |
289 | } | 289 | } |
@@ -422,7 +422,7 @@ static void acpi_tb_convert_fadt(void) | |||
422 | if (address64->address && address32 && | 422 | if (address64->address && address32 && |
423 | (address64->address != (u64) address32)) { | 423 | (address64->address != (u64) address32)) { |
424 | ACPI_ERROR((AE_INFO, | 424 | ACPI_ERROR((AE_INFO, |
425 | "32/64X address mismatch in %s: %8.8X/%8.8X%8.8X, using 32", | 425 | "32/64X address mismatch in %s: 0x%8.8X/0x%8.8X%8.8X, using 32", |
426 | fadt_info_table[i].name, address32, | 426 | fadt_info_table[i].name, address32, |
427 | ACPI_FORMAT_UINT64(address64->address))); | 427 | ACPI_FORMAT_UINT64(address64->address))); |
428 | } | 428 | } |
@@ -481,7 +481,7 @@ static void acpi_tb_validate_fadt(void) | |||
481 | (acpi_gbl_FADT.Xfacs != (u64) acpi_gbl_FADT.facs)) { | 481 | (acpi_gbl_FADT.Xfacs != (u64) acpi_gbl_FADT.facs)) { |
482 | ACPI_WARNING((AE_INFO, | 482 | ACPI_WARNING((AE_INFO, |
483 | "32/64X FACS address mismatch in FADT - " | 483 | "32/64X FACS address mismatch in FADT - " |
484 | "%8.8X/%8.8X%8.8X, using 32", | 484 | "0x%8.8X/0x%8.8X%8.8X, using 32", |
485 | acpi_gbl_FADT.facs, | 485 | acpi_gbl_FADT.facs, |
486 | ACPI_FORMAT_UINT64(acpi_gbl_FADT.Xfacs))); | 486 | ACPI_FORMAT_UINT64(acpi_gbl_FADT.Xfacs))); |
487 | 487 | ||
@@ -492,7 +492,7 @@ static void acpi_tb_validate_fadt(void) | |||
492 | (acpi_gbl_FADT.Xdsdt != (u64) acpi_gbl_FADT.dsdt)) { | 492 | (acpi_gbl_FADT.Xdsdt != (u64) acpi_gbl_FADT.dsdt)) { |
493 | ACPI_WARNING((AE_INFO, | 493 | ACPI_WARNING((AE_INFO, |
494 | "32/64X DSDT address mismatch in FADT - " | 494 | "32/64X DSDT address mismatch in FADT - " |
495 | "%8.8X/%8.8X%8.8X, using 32", | 495 | "0x%8.8X/0x%8.8X%8.8X, using 32", |
496 | acpi_gbl_FADT.dsdt, | 496 | acpi_gbl_FADT.dsdt, |
497 | ACPI_FORMAT_UINT64(acpi_gbl_FADT.Xdsdt))); | 497 | ACPI_FORMAT_UINT64(acpi_gbl_FADT.Xdsdt))); |
498 | 498 | ||
@@ -521,7 +521,7 @@ static void acpi_tb_validate_fadt(void) | |||
521 | if (address64->address && | 521 | if (address64->address && |
522 | (address64->bit_width != ACPI_MUL_8(length))) { | 522 | (address64->bit_width != ACPI_MUL_8(length))) { |
523 | ACPI_WARNING((AE_INFO, | 523 | ACPI_WARNING((AE_INFO, |
524 | "32/64X length mismatch in %s: %d/%d", | 524 | "32/64X length mismatch in %s: %u/%u", |
525 | name, ACPI_MUL_8(length), | 525 | name, ACPI_MUL_8(length), |
526 | address64->bit_width)); | 526 | address64->bit_width)); |
527 | } | 527 | } |
@@ -534,7 +534,7 @@ static void acpi_tb_validate_fadt(void) | |||
534 | if (!address64->address || !length) { | 534 | if (!address64->address || !length) { |
535 | ACPI_ERROR((AE_INFO, | 535 | ACPI_ERROR((AE_INFO, |
536 | "Required field %s has zero address and/or length:" | 536 | "Required field %s has zero address and/or length:" |
537 | " %8.8X%8.8X/%X", | 537 | " 0x%8.8X%8.8X/0x%X", |
538 | name, | 538 | name, |
539 | ACPI_FORMAT_UINT64(address64-> | 539 | ACPI_FORMAT_UINT64(address64-> |
540 | address), | 540 | address), |
@@ -550,7 +550,7 @@ static void acpi_tb_validate_fadt(void) | |||
550 | (!address64->address && length)) { | 550 | (!address64->address && length)) { |
551 | ACPI_WARNING((AE_INFO, | 551 | ACPI_WARNING((AE_INFO, |
552 | "Optional field %s has zero address or length: " | 552 | "Optional field %s has zero address or length: " |
553 | "%8.8X%8.8X/%X", | 553 | "0x%8.8X%8.8X/0x%X", |
554 | name, | 554 | name, |
555 | ACPI_FORMAT_UINT64(address64-> | 555 | ACPI_FORMAT_UINT64(address64-> |
556 | address), | 556 | address), |
@@ -600,7 +600,7 @@ static void acpi_tb_setup_fadt_registers(void) | |||
600 | (fadt_info_table[i].default_length != | 600 | (fadt_info_table[i].default_length != |
601 | target64->bit_width)) { | 601 | target64->bit_width)) { |
602 | ACPI_WARNING((AE_INFO, | 602 | ACPI_WARNING((AE_INFO, |
603 | "Invalid length for %s: %d, using default %d", | 603 | "Invalid length for %s: %u, using default %u", |
604 | fadt_info_table[i].name, | 604 | fadt_info_table[i].name, |
605 | target64->bit_width, | 605 | target64->bit_width, |
606 | fadt_info_table[i]. | 606 | fadt_info_table[i]. |