kobject: show debug info on delayed kobject release
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 9 Oct 2013 01:26:21 +0000 (09:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 23:30:10 +0000 (16:30 -0700)
commit1461c5be7becc6e65dba5cadb31fb5f4339609f5
treea33659a33fb97e66e60638fb028af10900140847
parenta6b01deda1e79259d2fe98fe68d41e4b7bad2783
kobject: show debug info on delayed kobject release

Useful for locating buggy drivers on kernel oops.

It may add dozens of new lines to boot dmesg. DEBUG_KOBJECT_RELEASE is
hopefully only enabled in debug kernels (like maybe the Fedora rawhide
one, or at developers), so being a bit more verbose is likely ok.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/kobject.c