From: Dave Peterson Date: Sun, 26 Mar 2006 09:38:48 +0000 (-0800) Subject: [PATCH] EDAC: kobject_init/kobject_put fixes X-Git-Tag: v2.6.17-rc1~546 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e5a8748507dea83386d1d76c58aeaed1ff5a1ec;p=pandora-kernel.git [PATCH] EDAC: kobject_init/kobject_put fixes - Remove calls to kobject_init(). These are unnecessary because kobject_register() calls kobject_init(). - Remove extra calls to kobject_put(). When we call kobject_unregister(), this releases our reference to the kobject. The extra calls to kobject_put() may cause the reference count to drop to 0 while a kobject is still in use. Signed-off-by: David S. Peterson Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed