From: Bob Moore Date: Mon, 23 Sep 2013 01:51:13 +0000 (+0800) Subject: ACPICA: Improve error message for "too many parent prefixes" condition. X-Git-Tag: v3.13-rc1~96^2~23^2~14 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f28eb9f5009abdc74d4052ae05c01795e254a6fc;p=~emulex%2Finfiniband.git ACPICA: Improve error message for "too many parent prefixes" condition. Emit the full offending pathname in the error message. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Reviewed-by: Len Brown Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c index c5316e5bd4a..aff79c7392f 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); } }