]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
macfb: Do not overflow fb_fix_screeninfo.id
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Nov 2008 19:40:40 +0000 (20:40 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 2 Dec 2008 19:27:15 +0000 (20:27 +0100)
commit89c223a616cddd9eab792b860f61f99cec53c4e8
tree434d2a5b259d0b5fa5662fb10e8da06e24a6f767
parent061e41fdb5047b1fb161e89664057835935ca1d2
macfb: Do not overflow fb_fix_screeninfo.id

Don't overflow the 16-character fb_fix_screeninfo id string (fixes some
console erasing and blanking artifacts). Have the ID default to "Unknown"
on machines with no built-in video and no nubus devices. Check for
fb_alloc_cmap failure.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/video/macfb.c