From: Bjorn Helgaas Date: Mon, 22 Mar 2010 22:34:05 +0000 (-0600) Subject: PCI: don't say we claimed a resource if we failed X-Git-Tag: v2.6.34-rc3~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f967a44343e407811898ddac97abc69b293e9810;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed