diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dsobject.c')
-rw-r--r-- | drivers/acpi/dispatcher/dsobject.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/drivers/acpi/dispatcher/dsobject.c b/drivers/acpi/dispatcher/dsobject.c index dc116d679a58..8b21f0f9e517 100644 --- a/drivers/acpi/dispatcher/dsobject.c +++ b/drivers/acpi/dispatcher/dsobject.c | |||
@@ -129,8 +129,8 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state, | |||
129 | 129 | ||
130 | return_ACPI_STATUS(AE_OK); | 130 | return_ACPI_STATUS(AE_OK); |
131 | } else { | 131 | } else { |
132 | ACPI_REPORT_NSERROR(op->common.value. | 132 | ACPI_ERROR_NAMESPACE(op->common.value. |
133 | string, status); | 133 | string, status); |
134 | } | 134 | } |
135 | 135 | ||
136 | return_ACPI_STATUS(status); | 136 | return_ACPI_STATUS(status); |
@@ -214,7 +214,9 @@ acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state, | |||
214 | byte_list = arg->named.next; | 214 | byte_list = arg->named.next; |
215 | if (byte_list) { | 215 | if (byte_list) { |
216 | if (byte_list->common.aml_opcode != AML_INT_BYTELIST_OP) { | 216 | if (byte_list->common.aml_opcode != AML_INT_BYTELIST_OP) { |
217 | ACPI_REPORT_ERROR(("Expecting bytelist, got AML opcode %X in op %p\n", byte_list->common.aml_opcode, byte_list)); | 217 | ACPI_ERROR((AE_INFO, |
218 | "Expecting bytelist, got AML opcode %X in op %p", | ||
219 | byte_list->common.aml_opcode, byte_list)); | ||
218 | 220 | ||
219 | acpi_ut_remove_reference(obj_desc); | 221 | acpi_ut_remove_reference(obj_desc); |
220 | return (AE_TYPE); | 222 | return (AE_TYPE); |
@@ -540,7 +542,9 @@ acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, | |||
540 | 542 | ||
541 | default: | 543 | default: |
542 | 544 | ||
543 | ACPI_REPORT_ERROR(("Unknown constant opcode %X\n", opcode)); | 545 | ACPI_ERROR((AE_INFO, |
546 | "Unknown constant opcode %X", | ||
547 | opcode)); | ||
544 | status = AE_AML_OPERAND_TYPE; | 548 | status = AE_AML_OPERAND_TYPE; |
545 | break; | 549 | break; |
546 | } | 550 | } |
@@ -555,8 +559,8 @@ acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, | |||
555 | break; | 559 | break; |
556 | 560 | ||
557 | default: | 561 | default: |
558 | ACPI_REPORT_ERROR(("Unknown Integer type %X\n", | 562 | ACPI_ERROR((AE_INFO, "Unknown Integer type %X", |
559 | op_info->type)); | 563 | op_info->type)); |
560 | status = AE_AML_OPERAND_TYPE; | 564 | status = AE_AML_OPERAND_TYPE; |
561 | break; | 565 | break; |
562 | } | 566 | } |
@@ -634,8 +638,8 @@ acpi_ds_init_object_from_op(struct acpi_walk_state *walk_state, | |||
634 | 638 | ||
635 | default: | 639 | default: |
636 | 640 | ||
637 | ACPI_REPORT_ERROR(("Unimplemented data type: %X\n", | 641 | ACPI_ERROR((AE_INFO, "Unimplemented data type: %X", |
638 | ACPI_GET_OBJECT_TYPE(obj_desc))); | 642 | ACPI_GET_OBJECT_TYPE(obj_desc))); |
639 | 643 | ||
640 | status = AE_AML_OPERAND_TYPE; | 644 | status = AE_AML_OPERAND_TYPE; |
641 | break; | 645 | break; |