Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358411
b: refs/heads/master
c: d5af7d9
h: refs/heads/master
i:
  358409: 8e52d47
  358407: 3cdc9fb
v: v3
  • Loading branch information
Jiang Liu authored and Bjorn Helgaas committed Jan 25, 2013
1 parent e5dc927 commit 2fb83f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 7629d19a4df922e7497e170c1c7b508b5e27f486
refs/heads/master: d5af7d987a494a1b85e176b4c33dc115cb111662
10 changes: 5 additions & 5 deletions trunk/drivers/pci/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ int pci_dev_present(const struct pci_device_id *ids)
WARN_ON(in_interrupt());
while (ids->vendor || ids->subvendor || ids->class_mask) {
found = pci_get_dev_by_id(ids, NULL);
if (found)
goto exit;
if (found) {
pci_dev_put(found);
return 1;
}
ids++;
}
exit:
if (found)
return 1;

return 0;
}
EXPORT_SYMBOL(pci_dev_present);
Expand Down

0 comments on commit 2fb83f0

Please sign in to comment.