Skip to content

Commit

Permalink
ACPICA: Namespace: Fix wrong error log
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lv Zheng authored and Rafael J. Wysocki committed Jan 1, 2016
1 parent a59b679 commit ac9b64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/acpica/nsinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit ac9b64a

Please sign in to comment.