diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-16 23:22:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-24 15:20:38 +0200 |
commit | bbc560ae677c0f4d7ff8404a21409c99f35b297b (patch) | |
tree | 7aaa24b51bfc57ec11c823bff43a081359358a1e /drivers/edac/edac_mc_sysfs.c | |
parent | edac_core: Don't let free(mci) happen while using it (diff) | |
download | linux-bbc560ae677c0f4d7ff8404a21409c99f35b297b.tar.xz 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_sysfs.c')
-rw-r--r-- | drivers/edac/edac_mc_sysfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 7024b873a3b9..ddd765253630 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c @@ -712,6 +712,8 @@ fail_out: */ void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci) { + debugf1("%s()\n", __func__); + /* delete the kobj from the mc_kset */ kobject_put(&mci->edac_mci_kobj); } |