提交 f28eb9f5 编写于 作者: B Bob Moore 提交者: Rafael J. Wysocki

ACPICA: Improve error message for "too many parent prefixes" condition.

Emit the full offending pathname in the error message.
Signed-off-by: NBob Moore <robert.moore@intel.com>
Signed-off-by: NLv Zheng <lv.zheng@intel.com>
Reviewed-by: NLen Brown <len.brown@intel.com>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 4a10c2ac
...@@ -424,8 +424,9 @@ acpi_ns_lookup(union acpi_generic_state *scope_info, ...@@ -424,8 +424,9 @@ acpi_ns_lookup(union acpi_generic_state *scope_info,
/* Current scope has no parent scope */ /* Current scope has no parent scope */
ACPI_ERROR((AE_INFO, ACPI_ERROR((AE_INFO,
"ACPI path has too many parent prefixes (^) " "%s: Path has too many parent prefixes (^) "
"- reached beyond root node")); "- reached beyond root node",
pathname));
return_ACPI_STATUS(AE_NOT_FOUND); return_ACPI_STATUS(AE_NOT_FOUND);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册