aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macsonic.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-05 21:20:47 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-05 21:20:47 +0000
commit95cb5d954ee656a0b048ea2298188569e0759336 (patch)
tree3283cd23477bad8d3a418e6f501b39145bfd54b8 /drivers/net/macsonic.c
parent[DRIVER MODEL] Fix depca (diff)
downloadlinux-dev-95cb5d954ee656a0b048ea2298188569e0759336.tar.xz
linux-dev-95cb5d954ee656a0b048ea2298188569e0759336.zip
[DRIVER MODEL] Fix jazzsonic
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/macsonic.c')
0 files changed, 0 insertions, 0 deletions