aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exoparg6.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/exoparg6.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/exoparg6.c')
-rw-r--r--drivers/acpi/acpica/exoparg6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exoparg6.c b/drivers/acpi/acpica/exoparg6.c
index f256b6a25f2e..4b50730cf9a0 100644
--- a/drivers/acpi/acpica/exoparg6.c
+++ b/drivers/acpi/acpica/exoparg6.c
@@ -245,7 +245,7 @@ acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state)
245 index = operand[5]->integer.value; 245 index = operand[5]->integer.value;
246 if (index >= operand[0]->package.count) { 246 if (index >= operand[0]->package.count) {
247 ACPI_ERROR((AE_INFO, 247 ACPI_ERROR((AE_INFO,
248 "Index (%X%8.8X) beyond package end (%X)", 248 "Index (0x%8.8X%8.8X) beyond package end (0x%X)",
249 ACPI_FORMAT_UINT64(index), 249 ACPI_FORMAT_UINT64(index),
250 operand[0]->package.count)); 250 operand[0]->package.count));
251 status = AE_AML_PACKAGE_LIMIT; 251 status = AE_AML_PACKAGE_LIMIT;
@@ -314,7 +314,7 @@ acpi_status acpi_ex_opcode_6A_0T_1R(struct acpi_walk_state * walk_state)
314 314
315 default: 315 default:
316 316
317 ACPI_ERROR((AE_INFO, "Unknown AML opcode %X", 317 ACPI_ERROR((AE_INFO, "Unknown AML opcode 0x%X",
318 walk_state->opcode)); 318 walk_state->opcode));
319 status = AE_AML_BAD_OPCODE; 319 status = AE_AML_BAD_OPCODE;
320 goto cleanup; 320 goto cleanup;