PCI/ACPI: Check acpi_resource_to_address64() return value
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 22 Jun 2012 05:48:50 +0000 (23:48 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 May 2013 16:51:14 +0000 (10:51 -0600)
We should check the acpi_resource_to_address64() return value, which
also removes the need to validate the resource type beforehand.
No functional change.

Found by Coverity (CID 113815).

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/pci_root.c

Simple merge