diff options
author | Bob Moore <robert.moore@intel.com> | 2018-05-08 23:06:11 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-15 10:16:10 +0200 |
commit | 4032cc3e516f484f3d846369b901cad40388c391 (patch) | |
tree | c88eb8dfcb6c68041ebb087d4f8d5b6619ff42ae /drivers/acpi/acpica/utstring.c | |
parent | ACPICA: Fix potential infinite loop in acpi_rs_dump_byte_list (diff) | |
download | linux-4032cc3e516f484f3d846369b901cad40388c391.tar.xz linux-4032cc3e516f484f3d846369b901cad40388c391.zip |
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.c | 2 |
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; } |