diff options
author | Dave Peterson <dsp@llnl.gov> | 2006-03-26 01:38:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 08:57:07 -0800 |
commit | 6e5a8748507dea83386d1d76c58aeaed1ff5a1ec (patch) | |
tree | 90ce1bc0ed71a608f9af4c3db655a35d03173aac /drivers/scsi/NCR_Q720.h | |
parent | 028a7b6d3d9fa2cc41d76d45575345cca8d00a4c (diff) | |
download | linux-next-6e5a8748507dea83386d1d76c58aeaed1ff5a1ec.tar.gz |
[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 'drivers/scsi/NCR_Q720.h')
0 files changed, 0 insertions, 0 deletions