diff options
author | Bob Moore <robert.moore@intel.com> | 2010-03-05 04:56:40 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:42:52 -0400 |
commit | f6a22b0bc417042e83117f52ab1a03696af185ab (patch) | |
tree | 0d03a22c27c592338629f2af67e7b2b9a8521b01 /drivers/acpi/acpica/exoparg2.c | |
parent | 0e264f0bc22207b99f33ee06e614186480682f15 (diff) |
ACPICA: Standardize integer output for ACPICA warnings/errors
Always use 0x prefix for hex output, use %u for integer output
(all integers are unsigned.)
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/exoparg2.c')
-rw-r--r-- | drivers/acpi/acpica/exoparg2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/exoparg2.c b/drivers/acpi/acpica/exoparg2.c index 22841bbbe63c..3f3f48bb2dc8 100644 --- a/drivers/acpi/acpica/exoparg2.c +++ b/drivers/acpi/acpica/exoparg2.c | |||
@@ -159,7 +159,7 @@ acpi_status acpi_ex_opcode_2A_0T_0R(struct acpi_walk_state *walk_state) | |||
159 | 159 | ||
160 | default: | 160 | default: |
161 | 161 | ||
162 | ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", | 162 | ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", |
163 | walk_state->opcode)); | 163 | walk_state->opcode)); |
164 | status = AE_AML_BAD_OPCODE; | 164 | status = AE_AML_BAD_OPCODE; |
165 | } | 165 | } |
@@ -224,7 +224,7 @@ acpi_status acpi_ex_opcode_2A_2T_1R(struct acpi_walk_state *walk_state) | |||
224 | 224 | ||
225 | default: | 225 | default: |
226 | 226 | ||
227 | ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", | 227 | ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", |
228 | walk_state->opcode)); | 228 | walk_state->opcode)); |
229 | status = AE_AML_BAD_OPCODE; | 229 | status = AE_AML_BAD_OPCODE; |
230 | goto cleanup; | 230 | goto cleanup; |
@@ -441,7 +441,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) | |||
441 | 441 | ||
442 | if (ACPI_FAILURE(status)) { | 442 | if (ACPI_FAILURE(status)) { |
443 | ACPI_EXCEPTION((AE_INFO, status, | 443 | ACPI_EXCEPTION((AE_INFO, status, |
444 | "Index (%X%8.8X) is beyond end of object", | 444 | "Index (0x%8.8X%8.8X) is beyond end of object", |
445 | ACPI_FORMAT_UINT64(index))); | 445 | ACPI_FORMAT_UINT64(index))); |
446 | goto cleanup; | 446 | goto cleanup; |
447 | } | 447 | } |
@@ -464,7 +464,7 @@ acpi_status acpi_ex_opcode_2A_1T_1R(struct acpi_walk_state *walk_state) | |||
464 | 464 | ||
465 | default: | 465 | default: |
466 | 466 | ||
467 | ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", | 467 | ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", |
468 | walk_state->opcode)); | 468 | walk_state->opcode)); |
469 | status = AE_AML_BAD_OPCODE; | 469 | status = AE_AML_BAD_OPCODE; |
470 | break; | 470 | break; |
@@ -572,7 +572,7 @@ acpi_status acpi_ex_opcode_2A_0T_1R(struct acpi_walk_state *walk_state) | |||
572 | 572 | ||
573 | default: | 573 | default: |
574 | 574 | ||
575 | ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", | 575 | ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", |
576 | walk_state->opcode)); | 576 | walk_state->opcode)); |
577 | status = AE_AML_BAD_OPCODE; | 577 | status = AE_AML_BAD_OPCODE; |
578 | goto cleanup; | 578 | goto cleanup; |