diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-12-29 13:52:51 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-01 03:26:44 +0100 |
commit | ac9b64a046b6ee6a80d5985770432c2735085578 (patch) | |
tree | d34d7b60ff429ed2a38e1d6e7a44ba847e5b2cab /drivers/acpi/acpica | |
parent | a59b679ab85635737947310323f2f2bcfa0664a7 (diff) | |
download | linux-ac9b64a046b6ee6a80d5985770432c2735085578.tar.gz linux-ac9b64a046b6ee6a80d5985770432c2735085578.tar.bz2 linux-ac9b64a046b6ee6a80d5985770432c2735085578.zip |
ACPICA: Namespace: Fix wrong error log
ACPICA commit 20228e39e125d92f9d80c6e07d3767b225d0536e
The Info->Node in acpi_ns_init_one_device() may not be initialized. Even it is
initialized, the redundant "._INI" can be seen for this log entry. This
patch fixes this issue by using device_node instead. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/20228e39
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')
-rw-r--r-- | drivers/acpi/acpica/nsinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsinit.c b/drivers/acpi/acpica/nsinit.c index b744a53618eb..656eacfeac56 100644 --- a/drivers/acpi/acpica/nsinit.c +++ b/drivers/acpi/acpica/nsinit.c @@ -582,7 +582,7 @@ acpi_ns_init_one_device(acpi_handle obj_handle, /* Ignore error and move on to next device */ - char *scope_name = acpi_ns_get_external_pathname(info->node); + char *scope_name = acpi_ns_get_external_pathname(device_node); ACPI_EXCEPTION((AE_INFO, status, "during %s._INI execution", scope_name)); |