summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/acpiphp_glue.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-28 23:56:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-28 23:56:32 +0100
commit8ff47aafb25cc80417118e4968d4e7ca3f46c3ee (patch)
treef63632f103c46638f9decbca6f7a2889c2764e39 /drivers/pci/hotplug/acpiphp_glue.c
parent2c22e6520ac87d8b12d4d9941e81d4119f2d903c (diff)
parentf26ca1d699e8b54a50d9faf82327d3c2072aaedd (diff)
downloadlwn-8ff47aafb25cc80417118e4968d4e7ca3f46c3ee.tar.gz
lwn-8ff47aafb25cc80417118e4968d4e7ca3f46c3ee.zip
Merge branch 'acpi-pci-hotplug' into acpi-hotplug
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index 67be6bab7535..ec4ddae1fb54 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -279,7 +279,9 @@ static acpi_status register_slot(acpi_handle handle, u32 lvl, void *data,
status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
if (ACPI_FAILURE(status)) {
- acpi_handle_warn(handle, "can't evaluate _ADR (%#x)\n", status);
+ if (status != AE_NOT_FOUND)
+ acpi_handle_warn(handle,
+ "can't evaluate _ADR (%#x)\n", status);
return AE_OK;
}