aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities/utcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/utilities/utcopy.c')
-rw-r--r--drivers/acpi/utilities/utcopy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/utilities/utcopy.c b/drivers/acpi/utilities/utcopy.c
index ba899714733b..4c4021d82f99 100644
--- a/drivers/acpi/utilities/utcopy.c
+++ b/drivers/acpi/utilities/utcopy.c
@@ -215,6 +215,11 @@ acpi_ut_copy_isimple_to_esimple(union acpi_operand_object *internal_object,
215 /* 215 /*
216 * There is no corresponding external object type 216 * There is no corresponding external object type
217 */ 217 */
218 ACPI_ERROR((AE_INFO,
219 "Unsupported object type, cannot convert to external object: %s",
220 acpi_ut_get_type_name(ACPI_GET_OBJECT_TYPE
221 (internal_object))));
222
218 return_ACPI_STATUS(AE_SUPPORT); 223 return_ACPI_STATUS(AE_SUPPORT);
219 } 224 }
220 225
@@ -467,6 +472,10 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object,
467 default: 472 default:
468 /* All other types are not supported */ 473 /* All other types are not supported */
469 474
475 ACPI_ERROR((AE_INFO,
476 "Unsupported object type, cannot convert to internal object: %s",
477 acpi_ut_get_type_name(external_object->type)));
478
470 return_ACPI_STATUS(AE_SUPPORT); 479 return_ACPI_STATUS(AE_SUPPORT);
471 } 480 }
472 481