Files
linux/drivers/pci/hotplug
Bjorn Helgaas 073c05b263 PCI: acpiphp: check whether _ADR evaluation succeeded
commit dfb117b3e5 upstream.

Check whether we evaluated _ADR successfully.  Previously we ignored
failure, so we would have used garbage data from the stack as the device
and function number.

We return AE_OK so that we ignore only this slot and continue looking
for other slots.

Found by Coverity (CID 113981).

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
[bwh: Backported to 2.6.32/3.0: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-13 05:28:03 +09:00
..
2011-03-31 11:26:23 -03:00
2011-01-10 08:51:44 -08:00
2010-07-30 09:47:22 -07:00
2010-10-18 08:31:02 +02:00
2010-10-18 08:31:02 +02:00
2010-10-18 08:31:02 +02:00
2010-10-18 08:31:02 +02:00
2011-03-31 11:26:23 -03:00
2011-01-10 08:51:44 -08:00
2010-10-18 08:33:02 +02:00
2010-10-18 08:33:02 +02:00