summaryrefslogtreecommitdiff
path: root/drivers/video/gbefb.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-05 21:21:10 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-05 21:21:10 +0000
commit09c6518ca0de24549a923891b2d335e8496d79a9 (patch)
tree0088dfdc7ef26d6a5c9d63d3fdffc1a2319356e9 /drivers/video/gbefb.c
parent95cb5d954ee656a0b048ea2298188569e0759336 (diff)
downloadlinux-3.10-09c6518ca0de24549a923891b2d335e8496d79a9.tar.gz
linux-3.10-09c6518ca0de24549a923891b2d335e8496d79a9.tar.bz2
linux-3.10-09c6518ca0de24549a923891b2d335e8496d79a9.zip
[DRIVER MODEL] Fix macsonic
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/video/gbefb.c')
0 files changed, 0 insertions, 0 deletions