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)
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>

No differences found