aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-06-20 16:18:29 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-06-20 17:28:53 -0600
commitdfb117b3e50c52c7b3416db4a4569224b8db80bb (patch)
tree902d330744008f0ff902ff27aa5a50b39eb28dd7 /include/linux/pci.h
parentPCI: shpchp: remove dead code (diff)
downloadlinux-dev-dfb117b3e50c52c7b3416db4a4569224b8db80bb.tar.xz
linux-dev-dfb117b3e50c52c7b3416db4a4569224b8db80bb.zip
PCI: acpiphp: check whether _ADR evaluation succeeded
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>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions