Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156175
b: refs/heads/master
c: 79896cf
h: refs/heads/master
i:
  156173: 95785a6
  156171: 307e8cd
  156167: 9b479fe
  156159: dc27219
v: v3
  • Loading branch information
Linus Torvalds committed Aug 2, 2009
1 parent 342172f commit f8826c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dd8486b5cfe8048e0613334659d9252ecd1b08a
refs/heads/master: 79896cf42f6a96d7e14f2dc3473443d68d74031d
4 changes: 2 additions & 2 deletions trunk/drivers/pci/setup-res.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ int pci_claim_resource(struct pci_dev *dev, int resource)
{
struct resource *res = &dev->resource[resource];
struct resource *root;
char *dtype = resource < PCI_BRIDGE_RESOURCES ? "device" : "bridge";
int err;

root = pci_find_parent_resource(dev, res);

err = -EINVAL;
if (root != NULL)
err = insert_resource(root, res);
err = request_resource(root, res);

if (err) {
const char *dtype = resource < PCI_BRIDGE_RESOURCES ? "device" : "bridge";
dev_err(&dev->dev, "BAR %d: %s of %s %pR\n",
resource,
root ? "address space collision on" :
Expand Down

0 comments on commit f8826c3

Please sign in to comment.