diff options
Diffstat (limited to 'drivers/acpi/namespace/nsalloc.c')
-rw-r--r-- | drivers/acpi/namespace/nsalloc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/acpi/namespace/nsalloc.c b/drivers/acpi/namespace/nsalloc.c index 3db950f5d5a0..9b871f38b61b 100644 --- a/drivers/acpi/namespace/nsalloc.c +++ b/drivers/acpi/namespace/nsalloc.c | |||
@@ -272,8 +272,8 @@ void acpi_ns_delete_children(struct acpi_namespace_node *parent_node) | |||
272 | /* Grandchildren should have all been deleted already */ | 272 | /* Grandchildren should have all been deleted already */ |
273 | 273 | ||
274 | if (child_node->child) { | 274 | if (child_node->child) { |
275 | ACPI_REPORT_ERROR(("Found a grandchild! P=%p C=%p\n", | 275 | ACPI_ERROR((AE_INFO, "Found a grandchild! P=%p C=%p", |
276 | parent_node, child_node)); | 276 | parent_node, child_node)); |
277 | } | 277 | } |
278 | 278 | ||
279 | /* Now we can free this child object */ | 279 | /* Now we can free this child object */ |
@@ -301,7 +301,9 @@ void acpi_ns_delete_children(struct acpi_namespace_node *parent_node) | |||
301 | /* There should be only one reference remaining on this node */ | 301 | /* There should be only one reference remaining on this node */ |
302 | 302 | ||
303 | if (child_node->reference_count != 1) { | 303 | if (child_node->reference_count != 1) { |
304 | ACPI_REPORT_WARNING(("Existing references (%d) on node being deleted (%p)\n", child_node->reference_count, child_node)); | 304 | ACPI_WARNING((AE_INFO, |
305 | "Existing references (%d) on node being deleted (%p)", | ||
306 | child_node->reference_count, child_node)); | ||
305 | } | 307 | } |
306 | 308 | ||
307 | /* Now we can delete the node */ | 309 | /* Now we can delete the node */ |