aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDave Peterson <[email protected]>2006-03-26 01:38:48 -0800
committerLinus Torvalds <[email protected]>2006-03-26 08:57:07 -0800
commit6e5a8748507dea83386d1d76c58aeaed1ff5a1ec (patch)
tree90ce1bc0ed71a608f9af4c3db655a35d03173aac /include/linux
parent028a7b6d3d9fa2cc41d76d45575345cca8d00a4c (diff)
[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 <[email protected]> Cc: Greg KH <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions