diff options
Diffstat (limited to 'drivers/acpi/acpica/uterror.c')
-rw-r--r-- | drivers/acpi/acpica/uterror.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/acpica/uterror.c b/drivers/acpi/acpica/uterror.c index 9ef80f2828e3..f93bb90ea72a 100644 --- a/drivers/acpi/acpica/uterror.c +++ b/drivers/acpi/acpica/uterror.c | |||
@@ -217,8 +217,9 @@ acpi_ut_namespace_error(const char *module_name, | |||
217 | } else { | 217 | } else { |
218 | /* Convert path to external format */ | 218 | /* Convert path to external format */ |
219 | 219 | ||
220 | status = acpi_ns_externalize_name(ACPI_UINT32_MAX, | 220 | status = |
221 | internal_name, NULL, &name); | 221 | acpi_ns_externalize_name(ACPI_UINT32_MAX, internal_name, |
222 | NULL, &name); | ||
222 | 223 | ||
223 | /* Print target name */ | 224 | /* Print target name */ |
224 | 225 | ||
@@ -271,9 +272,8 @@ acpi_ut_method_error(const char *module_name, | |||
271 | acpi_os_printf(ACPI_MSG_ERROR); | 272 | acpi_os_printf(ACPI_MSG_ERROR); |
272 | 273 | ||
273 | if (path) { | 274 | if (path) { |
274 | status = | 275 | status = acpi_ns_get_node(prefix_node, path, |
275 | acpi_ns_get_node(prefix_node, path, ACPI_NS_NO_UPSEARCH, | 276 | ACPI_NS_NO_UPSEARCH, &node); |
276 | &node); | ||
277 | if (ACPI_FAILURE(status)) { | 277 | if (ACPI_FAILURE(status)) { |
278 | acpi_os_printf("[Could not get node by pathname]"); | 278 | acpi_os_printf("[Could not get node by pathname]"); |
279 | } | 279 | } |