Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217365
b: refs/heads/master
c: 39300e7
h: refs/heads/master
i:
  217363: ca72d84
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 24, 2010
1 parent e38627a commit 7689f6c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 41ba6c10586dfab632725cd532677ae5ae460e3e
refs/heads/master: 39300e7143f8ef81b07cee3d8b86880bc4311ea0
10 changes: 6 additions & 4 deletions trunk/drivers/edac/i7core_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,16 +1240,17 @@ static void i7core_put_devices(struct i7core_dev *i7core_dev)
pci_dev_put(pdev);
}
kfree(i7core_dev->pdev);
list_del(&i7core_dev->list);
kfree(i7core_dev);
}

static void i7core_put_all_devices(void)
{
struct i7core_dev *i7core_dev, *tmp;

list_for_each_entry_safe(i7core_dev, tmp, &i7core_edac_list, list)
list_for_each_entry_safe(i7core_dev, tmp, &i7core_edac_list, list) {
i7core_put_devices(i7core_dev);
list_del(&i7core_dev->list);
kfree(i7core_dev);
}
}

static void __init i7core_xeon_pci_fixup(const struct pci_id_table *table)
Expand Down Expand Up @@ -1438,7 +1439,6 @@ static int i7core_get_devices(const struct pci_id_table *table)
}

return 0;
return 0;
}

static int mci_bind_devs(struct mem_ctl_info *mci,
Expand Down Expand Up @@ -2092,6 +2092,8 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
/* Release PCI resources */
i7core_put_devices(i7core_dev);
}
list_del(&i7core_dev->list);
kfree(i7core_dev);
}
probed--;

Expand Down

0 comments on commit 7689f6c

Please sign in to comment.