diff options
Diffstat (limited to 'drivers/acpi/namespace/nsinit.c')
-rw-r--r-- | drivers/acpi/namespace/nsinit.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/acpi/namespace/nsinit.c b/drivers/acpi/namespace/nsinit.c index 6c117893f301..9f929e479fd8 100644 --- a/drivers/acpi/namespace/nsinit.c +++ b/drivers/acpi/namespace/nsinit.c | |||
@@ -93,8 +93,7 @@ acpi_status acpi_ns_initialize_objects(void) | |||
93 | ACPI_UINT32_MAX, acpi_ns_init_one_object, | 93 | ACPI_UINT32_MAX, acpi_ns_init_one_object, |
94 | &info, NULL); | 94 | &info, NULL); |
95 | if (ACPI_FAILURE(status)) { | 95 | if (ACPI_FAILURE(status)) { |
96 | ACPI_REPORT_ERROR(("walk_namespace failed! %s\n", | 96 | ACPI_EXCEPTION((AE_INFO, status, "During walk_namespace")); |
97 | acpi_format_exception(status))); | ||
98 | } | 97 | } |
99 | 98 | ||
100 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, | 99 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, |
@@ -159,12 +158,11 @@ acpi_status acpi_ns_initialize_devices(void) | |||
159 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); | 158 | (void)acpi_ut_release_mutex(ACPI_MTX_NAMESPACE); |
160 | 159 | ||
161 | if (ACPI_FAILURE(status)) { | 160 | if (ACPI_FAILURE(status)) { |
162 | ACPI_REPORT_ERROR(("walk_namespace failed! %s\n", | 161 | ACPI_EXCEPTION((AE_INFO, status, "During walk_namespace")); |
163 | acpi_format_exception(status))); | ||
164 | } | 162 | } |
165 | 163 | ||
166 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, | 164 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, |
167 | "\n%hd Devices found containing: %hd _STA, %hd _INI methods\n", | 165 | "\n%hd Devices found - executed %hd _STA, %hd _INI methods\n", |
168 | info.device_count, info.num_STA, info.num_INI)); | 166 | info.device_count, info.num_STA, info.num_INI)); |
169 | 167 | ||
170 | return_ACPI_STATUS(status); | 168 | return_ACPI_STATUS(status); |
@@ -289,7 +287,10 @@ acpi_ns_init_one_object(acpi_handle obj_handle, | |||
289 | } | 287 | } |
290 | 288 | ||
291 | if (ACPI_FAILURE(status)) { | 289 | if (ACPI_FAILURE(status)) { |
292 | ACPI_REPORT_ERROR(("\nCould not execute arguments for [%4.4s] (%s), %s\n", acpi_ut_get_node_name(node), acpi_ut_get_type_name(type), acpi_format_exception(status))); | 290 | ACPI_EXCEPTION((AE_INFO, status, |
291 | "Could not execute arguments for [%4.4s] (%s)", | ||
292 | acpi_ut_get_node_name(node), | ||
293 | acpi_ut_get_type_name(type))); | ||
293 | } | 294 | } |
294 | 295 | ||
295 | /* | 296 | /* |
@@ -416,9 +417,8 @@ acpi_ns_init_one_device(acpi_handle obj_handle, | |||
416 | #ifdef ACPI_DEBUG_OUTPUT | 417 | #ifdef ACPI_DEBUG_OUTPUT |
417 | char *scope_name = acpi_ns_get_external_pathname(ini_node); | 418 | char *scope_name = acpi_ns_get_external_pathname(ini_node); |
418 | 419 | ||
419 | ACPI_REPORT_WARNING(("%s._INI failed: %s\n", | 420 | ACPI_WARNING((AE_INFO, "%s._INI failed: %s", |
420 | scope_name, | 421 | scope_name, acpi_format_exception(status))); |
421 | acpi_format_exception(status))); | ||
422 | 422 | ||
423 | ACPI_MEM_FREE(scope_name); | 423 | ACPI_MEM_FREE(scope_name); |
424 | #endif | 424 | #endif |