]> Pileus Git - ~andy/linux/commitdiff
ACPICA: Interpreter: Add additional debug info for an error case.
authorBob Moore <robert.moore@intel.com>
Wed, 8 Jan 2014 05:44:51 +0000 (13:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jan 2014 14:31:39 +0000 (15:31 +0100)
Emit the name of the namespace node for the error case when
there is no subobject attached to the node.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/exresnte.c

index acd34f5993131d573aa6bcdf6046e7dd34afad12..7ca6925a87cad08adea5abad1d1ec43dcf974d49 100644 (file)
@@ -124,7 +124,8 @@ acpi_ex_resolve_node_to_value(struct acpi_namespace_node **object_ptr,
        }
 
        if (!source_desc) {
-               ACPI_ERROR((AE_INFO, "No object attached to node %p", node));
+               ACPI_ERROR((AE_INFO, "No object attached to node [%4.4s] %p",
+                           node->name.ascii, node));
                return_ACPI_STATUS(AE_AML_NO_OPERAND);
        }