aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-16 17:22:43 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-24 09:20:38 -0400
commitbbc560ae677c0f4d7ff8404a21409c99f35b297b (patch)
tree7aaa24b51bfc57ec11c823bff43a081359358a1e /drivers/edac/edac_mc.c
parentac99768c534ebde637b506ce9a6f5638d2049a5d (diff)
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);
235 */ 235 */
236void edac_mc_free(struct mem_ctl_info *mci) 236void edac_mc_free(struct mem_ctl_info *mci)
237{ 237{
238 debugf1("%s()\n", __func__);
239
238 edac_mc_unregister_sysfs_main_kobj(mci); 240 edac_mc_unregister_sysfs_main_kobj(mci);
239} 241}
240EXPORT_SYMBOL_GPL(edac_mc_free); 242EXPORT_SYMBOL_GPL(edac_mc_free);