Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82064
b: refs/heads/master
c: b95d58e
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Feb 1, 2008
1 parent 697cc6f commit fc5842c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 9f24e82d07e2c64467d0c0c04a798de56461fd4a
refs/heads/master: b95d58eaf20eb33c245a2172ec4ecf46bd832309
3 changes: 2 additions & 1 deletion trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,8 @@ int pcim_enable_device(struct pci_dev *pdev)
dr = get_pci_dr(pdev);
if (unlikely(!dr))
return -ENOMEM;
WARN_ON(!!dr->enabled);
if (dr->enabled)
return 0;

rc = pci_enable_device(pdev);
if (!rc) {
Expand Down

0 comments on commit fc5842c

Please sign in to comment.