aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exprep.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/exprep.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/exprep.c')
-rw-r--r--drivers/acpi/acpica/exprep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c
index 2fbfe51fb141..25059dace0ad 100644
--- a/drivers/acpi/acpica/exprep.c
+++ b/drivers/acpi/acpica/exprep.c
@@ -275,7 +275,7 @@ acpi_ex_decode_field_access(union acpi_operand_object *obj_desc,
275 default: 275 default:
276 /* Invalid field access type */ 276 /* Invalid field access type */
277 277
278 ACPI_ERROR((AE_INFO, "Unknown field access type %X", access)); 278 ACPI_ERROR((AE_INFO, "Unknown field access type 0x%X", access));
279 return_UINT32(0); 279 return_UINT32(0);
280 } 280 }
281 281
@@ -430,7 +430,7 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
430 type = acpi_ns_get_type(info->region_node); 430 type = acpi_ns_get_type(info->region_node);
431 if (type != ACPI_TYPE_REGION) { 431 if (type != ACPI_TYPE_REGION) {
432 ACPI_ERROR((AE_INFO, 432 ACPI_ERROR((AE_INFO,
433 "Needed Region, found type %X (%s)", 433 "Needed Region, found type 0x%X (%s)",
434 type, acpi_ut_get_type_name(type))); 434 type, acpi_ut_get_type_name(type)));
435 435
436 return_ACPI_STATUS(AE_AML_OPERAND_TYPE); 436 return_ACPI_STATUS(AE_AML_OPERAND_TYPE);