mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ACPICA: Improve object conversion error messages
Better error messages during object conversion from internal to the external ACPI_OBJECT. Used for external calls to acpi_evaluate_object. Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
f02a99ac66
commit
c2de3a4945
1 changed files with 6 additions and 2 deletions
|
|
@ -503,7 +503,9 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
|
|||
* required eventually.
|
||||
*/
|
||||
ACPI_ERROR((AE_INFO,
|
||||
"Unsupported Reference opcode=%X in object %p",
|
||||
"Cannot convert to external object - "
|
||||
"unsupported Reference type [%s] %X in object %p",
|
||||
acpi_ut_get_reference_name(internal_object),
|
||||
internal_object->reference.opcode,
|
||||
internal_object));
|
||||
status = AE_TYPE;
|
||||
|
|
@ -513,7 +515,9 @@ acpi_ut_get_simple_object_size(union acpi_operand_object *internal_object,
|
|||
|
||||
default:
|
||||
|
||||
ACPI_ERROR((AE_INFO, "Unsupported type=%X in object %p",
|
||||
ACPI_ERROR((AE_INFO, "Cannot convert to external object - "
|
||||
"unsupported type [%s] %X in object %p",
|
||||
acpi_ut_get_object_type_name(internal_object),
|
||||
ACPI_GET_OBJECT_TYPE(internal_object),
|
||||
internal_object));
|
||||
status = AE_TYPE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue