aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/namespace/nsaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/namespace/nsaccess.c')
-rw-r--r--drivers/acpi/namespace/nsaccess.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/namespace/nsaccess.c b/drivers/acpi/namespace/nsaccess.c
index 29c7c271dbb8..35b0e46bd095 100644
--- a/drivers/acpi/namespace/nsaccess.c
+++ b/drivers/acpi/namespace/nsaccess.c
@@ -588,6 +588,10 @@ acpi_ns_lookup(union acpi_generic_state *scope_info,
588 * segments). 588 * segments).
589 */ 589 */
590 if (this_node->type == ACPI_TYPE_LOCAL_ALIAS) { 590 if (this_node->type == ACPI_TYPE_LOCAL_ALIAS) {
591 if (!this_node->object) {
592 return_ACPI_STATUS(AE_NOT_EXIST);
593 }
594
591 if (acpi_ns_opens_scope 595 if (acpi_ns_opens_scope
592 (((struct acpi_namespace_node *)this_node-> 596 (((struct acpi_namespace_node *)this_node->
593 object)->type)) { 597 object)->type)) {