summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc.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/edac_mc.c
parentac99768c534ebde637b506ce9a6f5638d2049a5d (diff)
downloadlinux-bbc560ae677c0f4d7ff8404a21409c99f35b297b.tar.gz
linux-bbc560ae677c0f4d7ff8404a21409c99f35b297b.tar.bz2
linux-bbc560ae677c0f4d7ff8404a21409c99f35b297b.zip
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/edac_mc.c')
-rw-r--r--drivers/edac/edac_mc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index b10b45cc7870..889ce7566b56 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -235,6 +235,8 @@ EXPORT_SYMBOL_GPL(edac_mc_alloc);
*/
void edac_mc_free(struct mem_ctl_info *mci)
{
+ debugf1("%s()\n", __func__);
+
edac_mc_unregister_sysfs_main_kobj(mci);
}
EXPORT_SYMBOL_GPL(edac_mc_free);