diff options
author | Bob Moore <robert.moore@intel.com> | 2009-12-11 01:40:17 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 17:29:35 -0500 |
commit | ebdca3edd5ac61e37f2f5e7c11006c1a68d3cc7e (patch) | |
tree | c94e25b6b7989bfce04f45811143ea4849973ebb /drivers/acpi/acpica | |
parent | f2cb12510836da63cf459dca452fc0770da155f1 (diff) |
ACPICA: Fix two additional Scope override error messages
These messages were using the internal path for the message
instead of using the node name.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/dswload.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/dswload.c b/drivers/acpi/acpica/dswload.c index 1bab934e99f8..9cc2289f872e 100644 --- a/drivers/acpi/acpica/dswload.c +++ b/drivers/acpi/acpica/dswload.c | |||
@@ -700,15 +700,16 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, | |||
700 | case ACPI_TYPE_BUFFER: | 700 | case ACPI_TYPE_BUFFER: |
701 | 701 | ||
702 | /* | 702 | /* |
703 | * These types we will allow, but we will change the type. This | 703 | * These types we will allow, but we will change the type. |
704 | * enables some existing code of the form: | 704 | * This enables some existing code of the form: |
705 | * | 705 | * |
706 | * Name (DEB, 0) | 706 | * Name (DEB, 0) |
707 | * Scope (DEB) { ... } | 707 | * Scope (DEB) { ... } |
708 | */ | 708 | */ |
709 | ACPI_WARNING((AE_INFO, | 709 | ACPI_WARNING((AE_INFO, |
710 | "Type override - [%4.4s] had invalid type (%s) for Scope operator, changed to (Scope)", | 710 | "Type override - [%4.4s] had invalid type (%s) " |
711 | buffer_ptr, | 711 | "for Scope operator, changed to type ANY\n", |
712 | acpi_ut_get_node_name(node), | ||
712 | acpi_ut_get_type_name(node->type))); | 713 | acpi_ut_get_type_name(node->type))); |
713 | 714 | ||
714 | node->type = ACPI_TYPE_ANY; | 715 | node->type = ACPI_TYPE_ANY; |
@@ -720,9 +721,10 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state, | |||
720 | /* All other types are an error */ | 721 | /* All other types are an error */ |
721 | 722 | ||
722 | ACPI_ERROR((AE_INFO, | 723 | ACPI_ERROR((AE_INFO, |
723 | "Invalid type (%s) for target of Scope operator [%4.4s]", | 724 | "Invalid type (%s) for target of " |
725 | "Scope operator [%4.4s] (Cannot override)", | ||
724 | acpi_ut_get_type_name(node->type), | 726 | acpi_ut_get_type_name(node->type), |
725 | buffer_ptr)); | 727 | acpi_ut_get_node_name(node))); |
726 | 728 | ||
727 | return (AE_AML_OPERAND_TYPE); | 729 | return (AE_AML_OPERAND_TYPE); |
728 | } | 730 | } |