diff options
| -rw-r--r-- | drivers/acpi/acpica/utdecode.c | 4 | ||||
| -rw-r--r-- | drivers/acpi/acpica/utdelete.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/utdecode.c b/drivers/acpi/acpica/utdecode.c index b3d8421cfb80..c6f2ce17af82 100644 --- a/drivers/acpi/acpica/utdecode.c +++ b/drivers/acpi/acpica/utdecode.c | |||
| @@ -238,7 +238,7 @@ const char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc) | |||
| 238 | 238 | ||
| 239 | if (!obj_desc) { | 239 | if (!obj_desc) { |
| 240 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Null Object Descriptor\n")); | 240 | ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "Null Object Descriptor\n")); |
| 241 | return_PTR("[NULL Object Descriptor]"); | 241 | return_STR("[NULL Object Descriptor]"); |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | /* These descriptor types share a common area */ | 244 | /* These descriptor types share a common area */ |
| @@ -251,7 +251,7 @@ const char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc) | |||
| 251 | acpi_ut_get_descriptor_name(obj_desc), | 251 | acpi_ut_get_descriptor_name(obj_desc), |
| 252 | obj_desc)); | 252 | obj_desc)); |
| 253 | 253 | ||
| 254 | return_PTR("Invalid object"); | 254 | return_STR("Invalid object"); |
| 255 | } | 255 | } |
| 256 | 256 | ||
| 257 | return_STR(acpi_ut_get_type_name(obj_desc->common.type)); | 257 | return_STR(acpi_ut_get_type_name(obj_desc->common.type)); |
diff --git a/drivers/acpi/acpica/utdelete.c b/drivers/acpi/acpica/utdelete.c index 529d6c38ea7c..5cdd707040e2 100644 --- a/drivers/acpi/acpica/utdelete.c +++ b/drivers/acpi/acpica/utdelete.c | |||
| @@ -421,8 +421,10 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action) | |||
| 421 | } | 421 | } |
| 422 | 422 | ||
| 423 | ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS, | 423 | ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS, |
| 424 | "Obj %p Type %.2X Refs %.2X [Incremented]\n", | 424 | "Obj %p Type %.2X [%s] Refs %.2X [Incremented]\n", |
| 425 | object, object->common.type, new_count)); | 425 | object, object->common.type, |
| 426 | acpi_ut_get_object_type_name(object), | ||
| 427 | new_count)); | ||
| 426 | break; | 428 | break; |
| 427 | 429 | ||
| 428 | case REF_DECREMENT: | 430 | case REF_DECREMENT: |
