Commit e8eb6228 authored by Len Brown's avatar Len Brown

Merge branch 'bugzilla-16422' into release

parents ecd8ee09 108029ff
...@@ -100,7 +100,8 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv) ...@@ -100,7 +100,8 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv)
status = acpi_get_object_info(handle, &info); status = acpi_get_object_info(handle, &info);
if (ACPI_SUCCESS(status)) { if (ACPI_SUCCESS(status)) {
if (info->address == find->address) if ((info->address == find->address)
&& (info->valid & ACPI_VALID_ADR))
find->handle = handle; find->handle = handle;
kfree(info); kfree(info);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment