Permalink
Browse files

Merge branch 'bugzilla-16422' into release

  • Loading branch information...
lenb committed Aug 15, 2010
2 parents ecd8ee0 + 108029f commit e8eb6228094bcf0c84d9aa32b6363e78da68e1f5
Showing with 2 additions and 1 deletion.
  1. +2 −1 drivers/acpi/glue.c
View
@@ -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);
}

0 comments on commit e8eb622

Please sign in to comment.