diff options
Diffstat (limited to 'drivers/acpi/utilities/utobject.c')
-rw-r--r-- | drivers/acpi/utilities/utobject.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/acpi/utilities/utobject.c b/drivers/acpi/utilities/utobject.c index 916eff399eb3..924d05af94d2 100644 --- a/drivers/acpi/utilities/utobject.c +++ b/drivers/acpi/utilities/utobject.c | |||
@@ -503,7 +503,9 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object, | |||
503 | * required eventually. | 503 | * required eventually. |
504 | */ | 504 | */ |
505 | ACPI_ERROR((AE_INFO, | 505 | ACPI_ERROR((AE_INFO, |
506 | "Unsupported Reference opcode=%X in object %p", | 506 | "Cannot convert to external object - " |
507 | "unsupported Reference type [%s] %X in object %p", | ||
508 | acpi_ut_get_reference_name(internal_object), | ||
507 | internal_object->reference.opcode, | 509 | internal_object->reference.opcode, |
508 | internal_object)); | 510 | internal_object)); |
509 | status = AE_TYPE; | 511 | status = AE_TYPE; |
@@ -513,7 +515,9 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object, | |||
513 | 515 | ||
514 | default: | 516 | default: |
515 | 517 | ||
516 | ACPI_ERROR((AE_INFO, "Unsupported type=%X in object %p", | 518 | ACPI_ERROR((AE_INFO, "Cannot convert to external object - " |
519 | "unsupported type [%s] %X in object %p", | ||
520 | acpi_ut_get_object_type_name(internal_object), | ||
517 | ACPI_GET_OBJECT_TYPE(internal_object), | 521 | ACPI_GET_OBJECT_TYPE(internal_object), |
518 | internal_object)); | 522 | internal_object)); |
519 | status = AE_TYPE; | 523 | status = AE_TYPE; |