Skip to content

Commit

Permalink
Merge branch 'bugzilla-16422' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
lenb committed Aug 15, 2010
2 parents ecd8ee0 + 108029f commit e8eb622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv)

status = acpi_get_object_info(handle, &info);
if (ACPI_SUCCESS(status)) {
if (info->address == find->address)
if ((info->address == find->address)
&& (info->valid & ACPI_VALID_ADR))
find->handle = handle;
kfree(info);
}
Expand Down

0 comments on commit e8eb622

Please sign in to comment.