Skip to content

Commit

Permalink
ACPICA: Interpreter: Add additional debug info for an error case.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Jan 8, 2014
1 parent a2c8633 commit 06d1860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/acpica/exresnte.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 06d1860

Please sign in to comment.