diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2010-03-22 23:34:05 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-03-25 16:51:35 +0100 |
commit | f967a44343e407811898ddac97abc69b293e9810 (patch) | |
tree | f7707ffe10dd10efe3d50670c1252d819aef6534 /arch | |
parent | PCI quirk: Disable MSI on VIA K8T890 systems (diff) | |
download | linux-f967a44343e407811898ddac97abc69b293e9810.tar.xz linux-f967a44343e407811898ddac97abc69b293e9810.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions