diff options
Diffstat (limited to 'drivers/acpi/acpica/nsrepair2.c')
-rw-r--r-- | drivers/acpi/acpica/nsrepair2.c | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c index 846df7047a81..199333880c8d 100644 --- a/drivers/acpi/acpica/nsrepair2.c +++ b/drivers/acpi/acpica/nsrepair2.c | |||
@@ -255,6 +255,8 @@ acpi_ns_repair_FDE(struct acpi_predefined_data *data, | |||
255 | u32 *dword_buffer; | 255 | u32 *dword_buffer; |
256 | u32 i; | 256 | u32 i; |
257 | 257 | ||
258 | ACPI_FUNCTION_NAME(ns_repair_FDE); | ||
259 | |||
258 | switch (return_object->common.type) { | 260 | switch (return_object->common.type) { |
259 | case ACPI_TYPE_BUFFER: | 261 | case ACPI_TYPE_BUFFER: |
260 | 262 | ||
@@ -296,8 +298,9 @@ acpi_ns_repair_FDE(struct acpi_predefined_data *data, | |||
296 | byte_buffer++; | 298 | byte_buffer++; |
297 | } | 299 | } |
298 | 300 | ||
299 | ACPI_INFO_PREDEFINED((AE_INFO, data->pathname, data->node_flags, | 301 | ACPI_DEBUG_PRINT((ACPI_DB_REPAIR, |
300 | "Expanded Byte Buffer to expected DWord Buffer")); | 302 | "%s Expanded Byte Buffer to expected DWord Buffer\n", |
303 | data->pathname)); | ||
301 | break; | 304 | break; |
302 | 305 | ||
303 | default: | 306 | default: |
@@ -445,6 +448,8 @@ acpi_ns_check_sorted_list(struct acpi_predefined_data *data, | |||
445 | u32 previous_value; | 448 | u32 previous_value; |
446 | acpi_status status; | 449 | acpi_status status; |
447 | 450 | ||
451 | ACPI_FUNCTION_NAME(ns_check_sorted_list); | ||
452 | |||
448 | /* The top-level object must be a package */ | 453 | /* The top-level object must be a package */ |
449 | 454 | ||
450 | if (return_object->common.type != ACPI_TYPE_PACKAGE) { | 455 | if (return_object->common.type != ACPI_TYPE_PACKAGE) { |
@@ -460,8 +465,9 @@ acpi_ns_check_sorted_list(struct acpi_predefined_data *data, | |||
460 | */ | 465 | */ |
461 | status = acpi_ns_remove_null_elements(return_object); | 466 | status = acpi_ns_remove_null_elements(return_object); |
462 | if (status == AE_NULL_ENTRY) { | 467 | if (status == AE_NULL_ENTRY) { |
463 | ACPI_INFO_PREDEFINED((AE_INFO, data->pathname, data->node_flags, | 468 | ACPI_DEBUG_PRINT((ACPI_DB_REPAIR, |
464 | "NULL elements removed from package")); | 469 | "%s: NULL elements removed from package\n", |
470 | data->pathname)); | ||
465 | 471 | ||
466 | /* Exit if package is now zero length */ | 472 | /* Exit if package is now zero length */ |
467 | 473 | ||
@@ -522,10 +528,9 @@ acpi_ns_check_sorted_list(struct acpi_predefined_data *data, | |||
522 | 528 | ||
523 | data->flags |= ACPI_OBJECT_REPAIRED; | 529 | data->flags |= ACPI_OBJECT_REPAIRED; |
524 | 530 | ||
525 | ACPI_INFO_PREDEFINED((AE_INFO, data->pathname, | 531 | ACPI_DEBUG_PRINT((ACPI_DB_REPAIR, |
526 | data->node_flags, | 532 | "%s: Repaired unsorted list - now sorted by %s\n", |
527 | "Repaired unsorted list - now sorted by %s", | 533 | data->pathname, sort_key_name)); |
528 | sort_key_name)); | ||
529 | return (AE_OK); | 534 | return (AE_OK); |
530 | } | 535 | } |
531 | 536 | ||