aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exresop.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2010-03-05 04:56:40 -0500
committerLen Brown <len.brown@intel.com>2010-04-20 10:42:52 -0400
commitf6a22b0bc417042e83117f52ab1a03696af185ab (patch)
tree0d03a22c27c592338629f2af67e7b2b9a8521b01 /drivers/acpi/acpica/exresop.c
parent0e264f0bc22207b99f33ee06e614186480682f15 (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/exresop.c')
-rw-r--r--drivers/acpi/acpica/exresop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/exresop.c b/drivers/acpi/acpica/exresop.c
index c5ecd615f145..8c97cfd6a0fd 100644
--- a/drivers/acpi/acpica/exresop.c
+++ b/drivers/acpi/acpica/exresop.c
@@ -153,7 +153,7 @@ acpi_ex_resolve_operands(u16 opcode,
153 153
154 arg_types = op_info->runtime_args; 154 arg_types = op_info->runtime_args;
155 if (arg_types == ARGI_INVALID_OPCODE) { 155 if (arg_types == ARGI_INVALID_OPCODE) {
156 ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", opcode)); 156 ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X", opcode));
157 157
158 return_ACPI_STATUS(AE_AML_INTERNAL); 158 return_ACPI_STATUS(AE_AML_INTERNAL);
159 } 159 }
@@ -218,7 +218,7 @@ acpi_ex_resolve_operands(u16 opcode,
218 218
219 if (!acpi_ut_valid_object_type(object_type)) { 219 if (!acpi_ut_valid_object_type(object_type)) {
220 ACPI_ERROR((AE_INFO, 220 ACPI_ERROR((AE_INFO,
221 "Bad operand object type [%X]", 221 "Bad operand object type [0x%X]",
222 object_type)); 222 object_type));
223 223
224 return_ACPI_STATUS(AE_AML_OPERAND_TYPE); 224 return_ACPI_STATUS(AE_AML_OPERAND_TYPE);
@@ -253,7 +253,7 @@ acpi_ex_resolve_operands(u16 opcode,
253 default: 253 default:
254 254
255 ACPI_ERROR((AE_INFO, 255 ACPI_ERROR((AE_INFO,
256 "Unknown Reference Class %2.2X in %p", 256 "Unknown Reference Class 0x%2.2X in %p",
257 obj_desc->reference.class, 257 obj_desc->reference.class,
258 obj_desc)); 258 obj_desc));
259 259
@@ -665,7 +665,7 @@ acpi_ex_resolve_operands(u16 opcode,
665 /* Unknown type */ 665 /* Unknown type */
666 666
667 ACPI_ERROR((AE_INFO, 667 ACPI_ERROR((AE_INFO,
668 "Internal - Unknown ARGI (required operand) type %X", 668 "Internal - Unknown ARGI (required operand) type 0x%X",
669 this_arg_type)); 669 this_arg_type));
670 670
671 return_ACPI_STATUS(AE_BAD_PARAMETER); 671 return_ACPI_STATUS(AE_BAD_PARAMETER);