diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-20 16:18:29 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:38:38 +0900 |
commit | 95482ba9494658e69aecf0f97b64f3f2ab82af62 (patch) | |
tree | 45c57b2a899abf802b105b3a5a306fc266ef1053 /samples | |
parent | 2006e6f75e7cb88e0508eeff066834c847ce91b3 (diff) |
PCI: acpiphp: check whether _ADR evaluation succeeded
commit dfb117b3e50c52c7b3416db4a4569224b8db80bb 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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions