summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-09-23 03:51:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-24 01:46:23 +0200
commitf28eb9f5009abdc74d4052ae05c01795e254a6fc (patch)
tree94dfa60d63923a179117d6163ba9e79e5905f1a5 /drivers
parentLinux 3.12-rc2 (diff)
downloadlinux-f28eb9f5009abdc74d4052ae05c01795e254a6fc.tar.xz
linux-f28eb9f5009abdc74d4052ae05c01795e254a6fc.zip
ACPICA: Improve error message for "too many parent prefixes" condition.
Emit the full offending pathname in the error message. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reviewed-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/acpica/nsaccess.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c
index c5316e5bd4ab..aff79c7392ff 100644
--- a/drivers/acpi/acpica/nsaccess.c
+++ b/drivers/acpi/acpica/nsaccess.c
@@ -424,8 +424,9 @@ acpi_ns_lookup(union acpi_generic_state *scope_info,
/* Current scope has no parent scope */
ACPI_ERROR((AE_INFO,
- "ACPI path has too many parent prefixes (^) "
- "- reached beyond root node"));
+ "%s: Path has too many parent prefixes (^) "
+ "- reached beyond root node",
+ pathname));
return_ACPI_STATUS(AE_NOT_FOUND);
}
}