aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exstoren.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/executer/exstoren.c')
-rw-r--r--drivers/acpi/executer/exstoren.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/acpi/executer/exstoren.c b/drivers/acpi/executer/exstoren.c
index 25bbc1d78547..42967baf760d 100644
--- a/drivers/acpi/executer/exstoren.c
+++ b/drivers/acpi/executer/exstoren.c
@@ -123,7 +123,10 @@ acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr,
123 && (source_desc->reference.opcode == AML_LOAD_OP))) { 123 && (source_desc->reference.opcode == AML_LOAD_OP))) {
124 /* Conversion successful but still not a valid type */ 124 /* Conversion successful but still not a valid type */
125 125
126 ACPI_REPORT_ERROR(("Cannot assign type %s to %s (must be type Int/Str/Buf)\n", acpi_ut_get_object_type_name(source_desc), acpi_ut_get_type_name(target_type))); 126 ACPI_ERROR((AE_INFO,
127 "Cannot assign type %s to %s (must be type Int/Str/Buf)",
128 acpi_ut_get_object_type_name(source_desc),
129 acpi_ut_get_type_name(target_type)));
127 status = AE_AML_OPERAND_TYPE; 130 status = AE_AML_OPERAND_TYPE;
128 } 131 }
129 break; 132 break;
@@ -131,9 +134,11 @@ acpi_ex_resolve_object(union acpi_operand_object **source_desc_ptr,
131 case ACPI_TYPE_LOCAL_ALIAS: 134 case ACPI_TYPE_LOCAL_ALIAS:
132 case ACPI_TYPE_LOCAL_METHOD_ALIAS: 135 case ACPI_TYPE_LOCAL_METHOD_ALIAS:
133 136
134 /* Aliases are resolved by acpi_ex_prep_operands */ 137 /*
135 138 * All aliases should have been resolved earlier, during the
136 ACPI_REPORT_ERROR(("Store into Alias - should never happen\n")); 139 * operand resolution phase.
140 */
141 ACPI_ERROR((AE_INFO, "Store into an unresolved Alias object"));
137 status = AE_AML_INTERNAL; 142 status = AE_AML_INTERNAL;
138 break; 143 break;
139 144
@@ -276,8 +281,8 @@ acpi_ex_store_object_to_object(union acpi_operand_object *source_desc,
276 /* 281 /*
277 * All other types come here. 282 * All other types come here.
278 */ 283 */
279 ACPI_REPORT_WARNING(("Store into type %s not implemented\n", 284 ACPI_WARNING((AE_INFO, "Store into type %s not implemented",
280 acpi_ut_get_object_type_name(dest_desc))); 285 acpi_ut_get_object_type_name(dest_desc)));
281 286
282 status = AE_NOT_IMPLEMENTED; 287 status = AE_NOT_IMPLEMENTED;
283 break; 288 break;