summaryrefslogtreecommitdiffstats
path: root/drivers/edac/i7core_edac.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-16 18:22:43 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-24 11:20:38 -0200
commitbbc560ae677c0f4d7ff8404a21409c99f35b297b (patch)
tree7aaa24b51bfc57ec11c823bff43a081359358a1e /drivers/edac/i7core_edac.c
parentac99768c534ebde637b506ce9a6f5638d2049a5d (diff)
downloadop-kernel-dev-bbc560ae677c0f4d7ff8404a21409c99f35b297b.zip
op-kernel-dev-bbc560ae677c0f4d7ff8404a21409c99f35b297b.tar.gz
edac_core: Print debug messages at release calls
This is important to track a nasty bug at the free logic. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/i7core_edac.c')
-rw-r--r--drivers/edac/i7core_edac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 11c61b4..b055997 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -2086,6 +2086,7 @@ static void __devexit i7core_remove(struct pci_dev *pdev)
edac_mc_del_mc(&i7core_dev->pdev[0]->dev);
/* Free data */
+ debugf1("%s: free structs\n");
kfree(mci->ctl_name);
edac_mc_free(mci);
OpenPOWER on IntegriCloud