Skip to content

Commit e8eb622

Browse files
committed
Merge branch 'bugzilla-16422' into release
2 parents ecd8ee0 + 108029f commit e8eb622

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/acpi/glue.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv)
100100

101101
status = acpi_get_object_info(handle, &info);
102102
if (ACPI_SUCCESS(status)) {
103-
if (info->address == find->address)
103+
if ((info->address == find->address)
104+
&& (info->valid & ACPI_VALID_ADR))
104105
find->handle = handle;
105106
kfree(info);
106107
}

0 commit comments

Comments
 (0)