summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/utstring.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2018-05-08 14:06:11 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-15 10:16:10 +0200
commit4032cc3e516f484f3d846369b901cad40388c391 (patch)
treec88eb8dfcb6c68041ebb087d4f8d5b6619ff42ae /drivers/acpi/acpica/utstring.c
parent9df758d96df5773eb7f52878f8875f1c989993da (diff)
ACPICA: Improve error messages for the namespace root node
Replace "\___" with actual descriptive text. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utstring.c')
-rw-r--r--drivers/acpi/acpica/utstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/utstring.c b/drivers/acpi/acpica/utstring.c
index bd57a77bbcb2..5bef0b059406 100644
--- a/drivers/acpi/acpica/utstring.c
+++ b/drivers/acpi/acpica/utstring.c
@@ -141,7 +141,7 @@ void acpi_ut_repair_name(char *name)
* Special case for the root node. This can happen if we get an
* error during the execution of module-level code.
*/
- if (ACPI_COMPARE_NAME(name, "\\___")) {
+ if (ACPI_COMPARE_NAME(name, ACPI_ROOT_PATHNAME)) {
return;
}