diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-10-10 14:20:32 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 01:59:46 -0400 |
commit | a790b323fb1b73f9388426bf3b96f153d1c90d2c (patch) | |
tree | 34f3c125759c7a0098ea06b7563f037809be956a /drivers/acpi/tables/tbget.c | |
parent | 7af8b66004fa827958b4871112e59a07db5b3f6b (diff) | |
download | talos-obmc-linux-a790b323fb1b73f9388426bf3b96f153d1c90d2c.tar.gz talos-obmc-linux-a790b323fb1b73f9388426bf3b96f153d1c90d2c.zip |
ACPI: fix printk format warnings
Fix printk format warnings in drivers/acpi:
drivers/acpi/tables/tbget.c:326: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
drivers/acpi/tables/tbrsdt.c:189: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long unsigned int'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/tables/tbget.c')
-rw-r--r-- | drivers/acpi/tables/tbget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/tables/tbget.c b/drivers/acpi/tables/tbget.c index 7856db759af0..11e2d4454e05 100644 --- a/drivers/acpi/tables/tbget.c +++ b/drivers/acpi/tables/tbget.c @@ -324,7 +324,7 @@ acpi_tb_get_this_table(struct acpi_pointer *address, if (header->length < sizeof(struct acpi_table_header)) { ACPI_ERROR((AE_INFO, - "Table length (%X) is smaller than minimum (%X)", + "Table length (%X) is smaller than minimum (%zX)", header->length, sizeof(struct acpi_table_header))); return_ACPI_STATUS(AE_INVALID_TABLE_LENGTH); |