Merge branch 'bugzilla-16422' into release
This commit is contained in:
commit
e8eb622809
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue