aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dsmthdat.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/dsmthdat.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/dsmthdat.c')
-rw-r--r--drivers/acpi/acpica/dsmthdat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/dsmthdat.c b/drivers/acpi/acpica/dsmthdat.c
index cc343b959540..f3d52f59250b 100644
--- a/drivers/acpi/acpica/dsmthdat.c
+++ b/drivers/acpi/acpica/dsmthdat.c
@@ -262,7 +262,7 @@ acpi_ds_method_data_get_node(u8 type,
262 262
263 if (index > ACPI_METHOD_MAX_LOCAL) { 263 if (index > ACPI_METHOD_MAX_LOCAL) {
264 ACPI_ERROR((AE_INFO, 264 ACPI_ERROR((AE_INFO,
265 "Local index %d is invalid (max %d)", 265 "Local index %u is invalid (max %u)",
266 index, ACPI_METHOD_MAX_LOCAL)); 266 index, ACPI_METHOD_MAX_LOCAL));
267 return_ACPI_STATUS(AE_AML_INVALID_INDEX); 267 return_ACPI_STATUS(AE_AML_INVALID_INDEX);
268 } 268 }
@@ -276,7 +276,7 @@ acpi_ds_method_data_get_node(u8 type,
276 276
277 if (index > ACPI_METHOD_MAX_ARG) { 277 if (index > ACPI_METHOD_MAX_ARG) {
278 ACPI_ERROR((AE_INFO, 278 ACPI_ERROR((AE_INFO,
279 "Arg index %d is invalid (max %d)", 279 "Arg index %u is invalid (max %u)",
280 index, ACPI_METHOD_MAX_ARG)); 280 index, ACPI_METHOD_MAX_ARG));
281 return_ACPI_STATUS(AE_AML_INVALID_INDEX); 281 return_ACPI_STATUS(AE_AML_INVALID_INDEX);
282 } 282 }
@@ -287,7 +287,7 @@ acpi_ds_method_data_get_node(u8 type,
287 break; 287 break;
288 288
289 default: 289 default:
290 ACPI_ERROR((AE_INFO, "Type %d is invalid", type)); 290 ACPI_ERROR((AE_INFO, "Type %u is invalid", type));
291 return_ACPI_STATUS(AE_TYPE); 291 return_ACPI_STATUS(AE_TYPE);
292 } 292 }
293 293
@@ -424,7 +424,7 @@ acpi_ds_method_data_get_value(u8 type,
424 case ACPI_REFCLASS_ARG: 424 case ACPI_REFCLASS_ARG:
425 425
426 ACPI_ERROR((AE_INFO, 426 ACPI_ERROR((AE_INFO,
427 "Uninitialized Arg[%d] at node %p", 427 "Uninitialized Arg[%u] at node %p",
428 index, node)); 428 index, node));
429 429
430 return_ACPI_STATUS(AE_AML_UNINITIALIZED_ARG); 430 return_ACPI_STATUS(AE_AML_UNINITIALIZED_ARG);
@@ -440,7 +440,7 @@ acpi_ds_method_data_get_value(u8 type,
440 default: 440 default:
441 441
442 ACPI_ERROR((AE_INFO, 442 ACPI_ERROR((AE_INFO,
443 "Not a Arg/Local opcode: %X", 443 "Not a Arg/Local opcode: 0x%X",
444 type)); 444 type));
445 return_ACPI_STATUS(AE_AML_INTERNAL); 445 return_ACPI_STATUS(AE_AML_INTERNAL);
446 } 446 }