diff options
author | Bob Moore <robert.moore@intel.com> | 2009-04-22 06:52:51 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-27 06:30:49 +0200 |
commit | b21245a85e62ea7eeb5b7562ce98cf8b0aecbd26 (patch) | |
tree | 12923309b7b9fa2201bbaffcd1f254c2faa6a98d /drivers/acpi/acpica/tbfadt.c | |
parent | ACPICA: Cleanup byte/word/dword extraction macros, fix possible warnings (diff) | |
download | linux-b21245a85e62ea7eeb5b7562ce98cf8b0aecbd26.tar.xz linux-b21245a85e62ea7eeb5b7562ce98cf8b0aecbd26.zip |
ACPICA: Fix printf format warnings for 64-bit build
Fix warnings caused by size_t and ACPI_SIZE changing to 64 bits.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/tbfadt.c')
-rw-r--r-- | drivers/acpi/acpica/tbfadt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c index 71e655d14cb0..e5fe7c853965 100644 --- a/drivers/acpi/acpica/tbfadt.c +++ b/drivers/acpi/acpica/tbfadt.c @@ -284,9 +284,9 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) if (length > sizeof(struct acpi_table_fadt)) { ACPI_WARNING((AE_INFO, "FADT (revision %u) is longer than ACPI 2.0 version, " - "truncating length 0x%X to 0x%zX", - table->revision, (unsigned)length, - sizeof(struct acpi_table_fadt))); + "truncating length 0x%X to 0x%X", + table->revision, length, + (u32)sizeof(struct acpi_table_fadt))); } /* Clear the entire local FADT */ |