From: Lv Zheng Date: Tue, 29 Dec 2015 05:52:51 +0000 (+0800) Subject: ACPICA: Namespace: Fix wrong error log X-Git-Tag: Ubuntu-4.8.0-22.24~2087^2~11^2~40 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ac9b64a046b6ee6a80d5985770432c2735085578;p=mirror_ubuntu-zesty-kernel.git 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 Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- 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));