summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-02-06 10:39:44 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 19:41:18 +0100
commite8973637bd49de225130f9c04ceb388d48969d98 (patch)
tree598aa995af584390fe3a1e0feb6280b8608272a0 /drivers/video/console/fbcon.c
parentFB/S3C2410: ensure S3C2410 framebuffer clears initial memory to black (diff)
downloadlinux-e8973637bd49de225130f9c04ceb388d48969d98.tar.xz
linux-e8973637bd49de225130f9c04ceb388d48969d98.zip
FB/S3C2410: check default_display parameter passed in platform data
Ensure that the default display parameter passed in via the device's platform data is valid. It turns out when mach-bast.c was updated, the default_display was set outside of the display array bounds, causing a panic on startup. If the default_display is bigger than num_displays, then generate an error and refuse to initialise the driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Vincent Sanders <vince@simtec.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/console/fbcon.c')
0 files changed, 0 insertions, 0 deletions