]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/pci/setup-res.c
PCI: Don't try to claim IORESOURCE_UNSET resources
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Feb 2014 18:25:59 +0000 (11:25 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 27 Feb 2014 17:43:33 +0000 (10:43 -0700)
commit29003beb7f15d3daa5a8f9afb8d007b64baa2357
tree5b886a8b36edc5ee740db82a4f583f15b3c7b24a
parentcd8a4d3657c3f2cf9ce3780707be1debb8fea6e2
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: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-res.c