diff options
Diffstat (limited to 'drivers/acpi/acpica/dsopcode.c')
-rw-r--r-- | drivers/acpi/acpica/dsopcode.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c index bf980cadb1e8..53a7e416f33e 100644 --- a/drivers/acpi/acpica/dsopcode.c +++ b/drivers/acpi/acpica/dsopcode.c | |||
@@ -292,7 +292,7 @@ acpi_status acpi_ds_get_buffer_arguments(union acpi_operand_object *obj_desc) | |||
292 | node = obj_desc->buffer.node; | 292 | node = obj_desc->buffer.node; |
293 | if (!node) { | 293 | if (!node) { |
294 | ACPI_ERROR((AE_INFO, | 294 | ACPI_ERROR((AE_INFO, |
295 | "No pointer back to NS node in buffer obj %p", | 295 | "No pointer back to namespace node in buffer object %p", |
296 | obj_desc)); | 296 | obj_desc)); |
297 | return_ACPI_STATUS(AE_AML_INTERNAL); | 297 | return_ACPI_STATUS(AE_AML_INTERNAL); |
298 | } | 298 | } |
@@ -336,7 +336,7 @@ acpi_status acpi_ds_get_package_arguments(union acpi_operand_object *obj_desc) | |||
336 | node = obj_desc->package.node; | 336 | node = obj_desc->package.node; |
337 | if (!node) { | 337 | if (!node) { |
338 | ACPI_ERROR((AE_INFO, | 338 | ACPI_ERROR((AE_INFO, |
339 | "No pointer back to NS node in package %p", | 339 | "No pointer back to namespace node in package %p", |
340 | obj_desc)); | 340 | obj_desc)); |
341 | return_ACPI_STATUS(AE_AML_INTERNAL); | 341 | return_ACPI_STATUS(AE_AML_INTERNAL); |
342 | } | 342 | } |
@@ -580,7 +580,8 @@ acpi_ds_init_buffer_field(u16 aml_opcode, | |||
580 | default: | 580 | default: |
581 | 581 | ||
582 | ACPI_ERROR((AE_INFO, | 582 | ACPI_ERROR((AE_INFO, |
583 | "Unknown field creation opcode %02x", aml_opcode)); | 583 | "Unknown field creation opcode 0x%02X", |
584 | aml_opcode)); | ||
584 | status = AE_AML_BAD_OPCODE; | 585 | status = AE_AML_BAD_OPCODE; |
585 | goto cleanup; | 586 | goto cleanup; |
586 | } | 587 | } |
@@ -589,7 +590,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode, | |||
589 | 590 | ||
590 | if ((bit_offset + bit_count) > (8 * (u32) buffer_desc->buffer.length)) { | 591 | if ((bit_offset + bit_count) > (8 * (u32) buffer_desc->buffer.length)) { |
591 | ACPI_ERROR((AE_INFO, | 592 | ACPI_ERROR((AE_INFO, |
592 | "Field [%4.4s] at %d exceeds Buffer [%4.4s] size %d (bits)", | 593 | "Field [%4.4s] at %u exceeds Buffer [%4.4s] size %u (bits)", |
593 | acpi_ut_get_node_name(result_desc), | 594 | acpi_ut_get_node_name(result_desc), |
594 | bit_offset + bit_count, | 595 | bit_offset + bit_count, |
595 | acpi_ut_get_node_name(buffer_desc->buffer.node), | 596 | acpi_ut_get_node_name(buffer_desc->buffer.node), |
@@ -693,7 +694,7 @@ acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state, | |||
693 | status = acpi_ex_resolve_operands(op->common.aml_opcode, | 694 | status = acpi_ex_resolve_operands(op->common.aml_opcode, |
694 | ACPI_WALK_OPERANDS, walk_state); | 695 | ACPI_WALK_OPERANDS, walk_state); |
695 | if (ACPI_FAILURE(status)) { | 696 | if (ACPI_FAILURE(status)) { |
696 | ACPI_ERROR((AE_INFO, "(%s) bad operand(s) (%X)", | 697 | ACPI_ERROR((AE_INFO, "(%s) bad operand(s), status 0x%X", |
697 | acpi_ps_get_opcode_name(op->common.aml_opcode), | 698 | acpi_ps_get_opcode_name(op->common.aml_opcode), |
698 | status)); | 699 | status)); |
699 | 700 | ||
@@ -1461,7 +1462,7 @@ acpi_ds_exec_end_control_op(struct acpi_walk_state * walk_state, | |||
1461 | 1462 | ||
1462 | default: | 1463 | default: |
1463 | 1464 | ||
1464 | ACPI_ERROR((AE_INFO, "Unknown control opcode=%X Op=%p", | 1465 | ACPI_ERROR((AE_INFO, "Unknown control opcode=0x%X Op=%p", |
1465 | op->common.aml_opcode, op)); | 1466 | op->common.aml_opcode, op)); |
1466 | 1467 | ||
1467 | status = AE_AML_BAD_OPCODE; | 1468 | status = AE_AML_BAD_OPCODE; |