Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83821
b: refs/heads/master
c: 6b09ff9
h: refs/heads/master
i:
  83819: 8dd6a87
v: v3
  • Loading branch information
Bryan Boatright authored and Linus Torvalds committed Feb 7, 2008
1 parent b979fd3 commit 32ad9fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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: 4f4aeeabc061826376c9a72b4714d062664999ea
refs/heads/master: 6b09ff9d787911b0b46a4d286e68f1f84e8b0b94
12 changes: 8 additions & 4 deletions trunk/drivers/edac/edac_pci_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,10 @@ static void edac_pci_dev_parity_test(struct pci_dev *dev)

debugf4("PCI STATUS= 0x%04x %s\n", status, dev->dev.bus_id);

/* check the status reg for errors */
if (status) {
/* check the status reg for errors on boards NOT marked as broken
* if broken, we cannot trust any of the status bits
*/
if (status && !dev->broken_parity_status) {
if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) {
edac_printk(KERN_CRIT, EDAC_PCI,
"Signaled System Error on %s\n",
Expand Down Expand Up @@ -593,8 +595,10 @@ static void edac_pci_dev_parity_test(struct pci_dev *dev)

debugf4("PCI SEC_STATUS= 0x%04x %s\n", status, dev->dev.bus_id);

/* check the secondary status reg for errors */
if (status) {
/* check the secondary status reg for errors,
* on NOT broken boards
*/
if (status && !dev->broken_parity_status) {
if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) {
edac_printk(KERN_CRIT, EDAC_PCI, "Bridge "
"Signaled System Error on %s\n",
Expand Down

0 comments on commit 32ad9fc

Please sign in to comment.