aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/dbcmds.c
diff options
context:
space:
mode:
authorLv Zheng2015-12-29 13:53:50 +0800
committerRafael J. Wysocki2016-01-01 03:26:45 +0100
commit0e166e4f67f544370328bf879694f7ed116c2563 (patch)
treebc9df434f64a2b7932122a273256679eb5b78532 /drivers/acpi/acpica/dbcmds.c
parentac9b64a046b6ee6a80d5985770432c2735085578 (diff)
ACPICA: Debugger: reduce old external path format
ACPICA commit 75c0da9e796bdf9bdd46d75f028a3e1779903214 In the error logs and debugger outputs, use new external path format that does not contain a trailing underscore. This patch takes care of acpi_ns_get_external_pathname() invocations, chaning them into acpi_ns_get_normalized_pathname(TRUE) where possible. Along with some error log fixes, the following debugger commands are fixed: resources, handlers, paths. Lv Zheng. Link: https://github.com/acpica/acpica/commit/75c0da9e Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dbcmds.c')
-rw-r--r--drivers/acpi/acpica/dbcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dbcmds.c b/drivers/acpi/acpica/dbcmds.c
index 30414b3d7fdd..84ab1c2faa04 100644
--- a/drivers/acpi/acpica/dbcmds.c
+++ b/drivers/acpi/acpica/dbcmds.c
@@ -798,7 +798,7 @@ acpi_db_device_resources(acpi_handle obj_handle,
acpi_status status;
node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle);
- parent_path = acpi_ns_get_external_pathname(node);
+ parent_path = acpi_ns_get_normalized_pathname(node, TRUE);
if (!parent_path) {
return (AE_NO_MEMORY);
}