Commit 29003beb authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Don't try to claim IORESOURCE_UNSET resources



If the IORESOURCE_UNSET bit is set, it means we haven't assigned an address
yet, so don't try to claim the region.

Also, make the error messages more uniform and add info about which BAR is
involved.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent cd8a4d36
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment