Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336543
b: refs/heads/master
c: 3bfe5aa
h: refs/heads/master
i:
  336541: d02243a
  336539: 56d8220
  336535: e93ec89
  336527: 32bb55f
  336511: 5999210
v: v3
  • Loading branch information
Wei Yongjun authored and Borislav Petkov committed Dec 4, 2012
1 parent 0f4cfba commit be407ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 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: 2d56b109e3a50cf316e60f07541bbeb1d8fe251a
refs/heads/master: 3bfe5aae8edd8436d26cddfeab783492d8950821
12 changes: 4 additions & 8 deletions trunk/drivers/edac/edac_pci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,20 +645,16 @@ typedef void (*pci_parity_check_fn_t) (struct pci_dev *dev);

/*
* pci_dev parity list iterator
* Scan the PCI device list for one pass, looking for SERRORs
* Master Parity ERRORS or Parity ERRORs on primary or secondary devices
*
* Scan the PCI device list looking for SERRORs, Master Parity ERRORS or
* Parity ERRORs on primary or secondary devices.
*/
static inline void edac_pci_dev_parity_iterator(pci_parity_check_fn_t fn)
{
struct pci_dev *dev = NULL;

/* request for kernel access to the next PCI device, if any,
* and while we are looking at it have its reference count
* bumped until we are done with it
*/
while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
for_each_pci_dev(dev)
fn(dev);
}
}

/*
Expand Down

0 comments on commit be407ea

Please sign in to comment.