summaryrefslogtreecommitdiffstats
path: root/drivers/video/vfb.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-05 22:22:13 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-05 22:22:13 +0100
commitabbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3 (patch)
tree735185fb11797c7afdc885267f84a19337693897 /drivers/video/vfb.c
parent[DRIVER MODEL] Fix arcfb (diff)
downloadlinux-abbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3.tar.xz
linux-abbf268ae8f51e19779cdf3f5fbb8144f1a5fbc3.zip
[DRIVER MODEL] Fix gbefb
Statically allocated devices in module data 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 data will be freed. Subsequent use of the platform device will cause a kernel oops. 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/vfb.c')
0 files changed, 0 insertions, 0 deletions