diff options
author | Toshi Kani <toshi.kani@hp.com> | 2013-11-27 20:33:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 20:25:13 (GMT) |
commit | 18065245d2337cbbf3f28cf69e790e332b4ab703 (patch) | |
tree | def06ea6ccfbbb9f9ea8f3fc4cc0945df42c356d /drivers/pci/xen-pcifront.c | |
parent | 681203c68b4ebdc6f0f67c4f8ab031752817f6dc (diff) | |
download | linux-fsl-qoriq-18065245d2337cbbf3f28cf69e790e332b4ab703.tar.xz |
ACPI / PCI / hotplug: Avoid warning when _ADR not present
commit f26ca1d699e8b54a50d9faf82327d3c2072aaedd upstream.
acpiphp_enumerate_slots() walks ACPI namenamespace under
a PCI host bridge with callback register_slot().
register_slot() evaluates _ADR for all the device objects
and emits a warning message for any error. Some platforms
have _HID device objects (such as HPET and IPMI), which
trigger unnecessary warning messages.
This patch avoids emitting a warning message when a target
device object does not have _ADR.
Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/xen-pcifront.c')
0 files changed, 0 insertions, 0 deletions