summaryrefslogtreecommitdiff
path: root/drivers/net/jazzsonic.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-06 00:20:21 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-06 00:20:21 +0300
commit5d994b7f5d1c77acaa0b9b4c1b9f0f278605c309 (patch)
tree6c74ec305642a6e74c522c22223ff57a96793049 /drivers/net/jazzsonic.c
parent37c12e7497b6fe2b6a890814f0ff4edce696d862 (diff)
downloadlinux-5d994b7f5d1c77acaa0b9b4c1b9f0f278605c309.tar.xz
[DRIVER MODEL] Fix depca
Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/jazzsonic.c')
0 files changed, 0 insertions, 0 deletions