diff options
| author | Bob Moore <robert.moore@intel.com> | 2010-05-25 23:47:13 -0400 |
|---|---|---|
| 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) | |
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, | |||
| 742 | } | 742 | } |
| 743 | 743 | ||
| 744 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, | 744 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, |
| 745 | "**** Start operand dump for opcode [%s], %d operands\n", | 745 | "**** Start operand dump for opcode [%s], %u operands\n", |
| 746 | opcode_name, num_operands)); | 746 | opcode_name, num_operands)); |
| 747 | 747 | ||
| 748 | if (num_operands == 0) { | 748 | if (num_operands == 0) { |
| @@ -945,7 +945,7 @@ acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc, | |||
| 945 | 945 | ||
| 946 | case ACPI_TYPE_PACKAGE: | 946 | case ACPI_TYPE_PACKAGE: |
| 947 | 947 | ||
| 948 | acpi_os_printf("[Package] Contains %d Elements:\n", | 948 | acpi_os_printf("[Package] Contains %u Elements:\n", |
| 949 | obj_desc->package.count); | 949 | obj_desc->package.count); |
| 950 | 950 | ||
| 951 | for (i = 0; i < obj_desc->package.count; i++) { | 951 | for (i = 0; i < obj_desc->package.count; i++) { |
