summaryrefslogtreecommitdiff
path: root/drivers/video/gbefb.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-06 00:21:38 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-06 00:21:38 +0300
commit8d972a962177a261fc894f767fa3014f63d661e9 (patch)
treece79f869f65da3ce87c0ad50f7a84d527511d61f /drivers/video/gbefb.c
parent09c6518ca0de24549a923891b2d335e8496d79a9 (diff)
downloadlinux-8d972a962177a261fc894f767fa3014f63d661e9.tar.xz
[DRIVER MODEL] Fix arcfb
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