ACPI / hotplug / PCI: Drop WARN_ON() from acpiphp_enumerate_slots()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Oct 2013 23:49:48 +0000 (01:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Oct 2013 23:49:48 +0000 (01:49 +0200)
commitfd3cfebec3199bb89acead236b1ab12c349ed4e0
treec94ae748454e63866d11619792ce1651fb819816
parent5d4494573c1fed806b97c2a1ba619d50bb89d1ed
ACPI / hotplug / PCI: Drop WARN_ON() from acpiphp_enumerate_slots()

The WARN_ON() in acpiphp_enumerate_slots() triggers unnecessarily for
devices whose bridges are going to be handled by native PCIe hotplug
(pciehp) and the simplest way to prevent that from happening is to
drop the WARN_ON().

References: https://bugzilla.kernel.org/show_bug.cgi?id=62831
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp_glue.c