Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dfb117b3 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 67454b66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment