commit | f967a44343e407811898ddac97abc69b293e9810 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Mon Mar 22 16:34:05 2010 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Mar 25 08:51:35 2010 -0700 |
tree | f7707ffe10dd10efe3d50670c1252d819aef6534 | |
parent | 134b345081534235dbf228b1005c14590e0570ba [diff] |
PCI: don't say we claimed a resource if we failed pci_claim_resource() can fail, so pay attention and only claim success when it actually succeeded. If pci_claim_resource() fails, it prints a useful diagnostic. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>