diff options
author | Bob Moore <robert.moore@intel.com> | 2010-05-26 11:47:13 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-07-06 22:33:55 -0400 |
commit | b27d65975c252ff774edff8e01f0a9fd46d8ab62 (patch) | |
tree | 44d248396fb3f17d62931cdd3922812bd8a07df3 /drivers/acpi/acpica/exdump.c | |
parent | 96b7b7ad79e4bd8a0ae67dd201f7532ef4abf1c1 (diff) | |
download | talos-obmc-linux-b27d65975c252ff774edff8e01f0a9fd46d8ab62.tar.gz talos-obmc-linux-b27d65975c252ff774edff8e01f0a9fd46d8ab62.zip |
ACPICA: Core: Replace all %d format specifiers with %u (unsigned)
With only a few exceptions, ACPICA does not use signed integers.
Therefore, %d is incorrect.
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/exdump.c')
-rw-r--r-- | drivers/acpi/acpica/exdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c index d39d438ba1e3..cdb66d1e3fde 100644 --- a/drivers/acpi/acpica/exdump.c +++ b/drivers/acpi/acpica/exdump.c @@ -742,7 +742,7 @@ acpi_ex_dump_operands(union acpi_operand_object **operands, } ACPI_DEBUG_PRINT((ACPI_DB_EXEC, - "**** Start operand dump for opcode [%s], %d operands\n", + "**** Start operand dump for opcode [%s], %u operands\n", opcode_name, num_operands)); if (num_operands == 0) { @@ -945,7 +945,7 @@ acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc, case ACPI_TYPE_PACKAGE: - acpi_os_printf("[Package] Contains %d Elements:\n", + acpi_os_printf("[Package] Contains %u Elements:\n", obj_desc->package.count); for (i = 0; i < obj_desc->package.count; i++) { |