diff options
author | Dave Peterson <dsp@llnl.gov> | 2006-03-26 09:38:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 16:57:07 (GMT) |
commit | 6e5a8748507dea83386d1d76c58aeaed1ff5a1ec (patch) | |
tree | 90ce1bc0ed71a608f9af4c3db655a35d03173aac /arch/sh | |
parent | 028a7b6d3d9fa2cc41d76d45575345cca8d00a4c (diff) | |
download | linux-fsl-qoriq-6e5a8748507dea83386d1d76c58aeaed1ff5a1ec.tar.xz |
[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 <dsp@llnl.gov>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions