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>
This commit is contained in:
parent
4a10c2ac2f
commit
f28eb9f500
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue