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/exmisc.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/exmisc.c')
-rw-r--r-- | drivers/acpi/acpica/exmisc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/exmisc.c b/drivers/acpi/acpica/exmisc.c index c5bb1eeed2df..95db4be0877b 100644 --- a/drivers/acpi/acpica/exmisc.c +++ b/drivers/acpi/acpica/exmisc.c | |||
@@ -99,7 +99,7 @@ acpi_ex_get_object_reference(union acpi_operand_object *obj_desc, | |||
99 | 99 | ||
100 | default: | 100 | default: |
101 | 101 | ||
102 | ACPI_ERROR((AE_INFO, "Unknown Reference Class %2.2X", | 102 | ACPI_ERROR((AE_INFO, "Unknown Reference Class 0x%2.2X", |
103 | obj_desc->reference.class)); | 103 | obj_desc->reference.class)); |
104 | return_ACPI_STATUS(AE_AML_INTERNAL); | 104 | return_ACPI_STATUS(AE_AML_INTERNAL); |
105 | } | 105 | } |
@@ -115,7 +115,7 @@ acpi_ex_get_object_reference(union acpi_operand_object *obj_desc, | |||
115 | 115 | ||
116 | default: | 116 | default: |
117 | 117 | ||
118 | ACPI_ERROR((AE_INFO, "Invalid descriptor type %X", | 118 | ACPI_ERROR((AE_INFO, "Invalid descriptor type 0x%X", |
119 | ACPI_GET_DESCRIPTOR_TYPE(obj_desc))); | 119 | ACPI_GET_DESCRIPTOR_TYPE(obj_desc))); |
120 | return_ACPI_STATUS(AE_TYPE); | 120 | return_ACPI_STATUS(AE_TYPE); |
121 | } | 121 | } |
@@ -276,7 +276,7 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0, | |||
276 | break; | 276 | break; |
277 | 277 | ||
278 | default: | 278 | default: |
279 | ACPI_ERROR((AE_INFO, "Invalid object type: %X", | 279 | ACPI_ERROR((AE_INFO, "Invalid object type: 0x%X", |
280 | operand0->common.type)); | 280 | operand0->common.type)); |
281 | status = AE_AML_INTERNAL; | 281 | status = AE_AML_INTERNAL; |
282 | } | 282 | } |
@@ -378,7 +378,7 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0, | |||
378 | 378 | ||
379 | /* Invalid object type, should not happen here */ | 379 | /* Invalid object type, should not happen here */ |
380 | 380 | ||
381 | ACPI_ERROR((AE_INFO, "Invalid object type: %X", | 381 | ACPI_ERROR((AE_INFO, "Invalid object type: 0x%X", |
382 | operand0->common.type)); | 382 | operand0->common.type)); |
383 | status = AE_AML_INTERNAL; | 383 | status = AE_AML_INTERNAL; |
384 | goto cleanup; | 384 | goto cleanup; |