Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217363
b: refs/heads/master
c: 6ee7dd5
h: refs/heads/master
i:
  217361: bd67077
  217359: da51fd9
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent 45a09a2 commit ca72d84
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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: 3cfd01468b98360ede8cc8849d14e586253d290c
refs/heads/master: 6ee7dd504490f3dc25cfe1c9be5b6e8895f89a92
24 changes: 12 additions & 12 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1941,18 +1941,6 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev,
goto fail;
}

/* allocating generic PCI control info */
pvt->i7core_pci = edac_pci_create_generic_ctl(&i7core_dev->pdev[0]->dev,
EDAC_MOD_STR);
if (unlikely(!pvt->i7core_pci)) {
printk(KERN_WARNING
"%s(): Unable to create PCI control\n",
__func__);
printk(KERN_WARNING
"%s(): PCI error report via EDAC not setup\n",
__func__);
}

/* Default error mask is any memory */
pvt->inject.channel = 0;
pvt->inject.dimm = -1;
Expand All @@ -1965,6 +1953,18 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev,
pvt->edac_mce.priv = mci;
pvt->edac_mce.check_error = i7core_mce_check_error;

/* allocating generic PCI control info */
pvt->i7core_pci = edac_pci_create_generic_ctl(&i7core_dev->pdev[0]->dev,
EDAC_MOD_STR);
if (unlikely(!pvt->i7core_pci)) {
printk(KERN_WARNING
"%s(): Unable to create PCI control\n",
__func__);
printk(KERN_WARNING
"%s(): PCI error report via EDAC not setup\n",
__func__);
}

rc = edac_mce_register(&pvt->edac_mce);
if (unlikely(rc < 0)) {
debugf0("MC: " __FILE__
Expand Down

0 comments on commit ca72d84

Please sign in to comment.