Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217389
b: refs/heads/master
c: a3e1541
h: refs/heads/master
i:
  217387: a532c7d
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent e24e8f1 commit 593a5c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79daef2099a02fed35747c23bad22f30441133ea
refs/heads/master: a3e1541637f2096ab31af311c53eaeb0853650d3
7 changes: 7 additions & 0 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,13 @@ static int i7core_get_onedevice(struct pci_dev **prev,
dev_descr->func,
PCI_VENDOR_ID_INTEL, dev_descr->dev_id);

/*
* As stated on drivers/pci/search.c, the reference count for
* @from is always decremented if it is not %NULL. So, as we need
* to get all devices up to null, we need to do a get for the device
*/
pci_dev_get(pdev);

*prev = pdev;

return 0;
Expand Down

0 comments on commit 593a5c8

Please sign in to comment.