Re: [PATCH] macfb: Do not overflow fb_fix_screeninfo.id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, 27 Oct 2008, Andrew Morton wrote:

On Mon, 27 Oct 2008 08:23:43 +0100 (CET) Geert Uytterhoeven 
<geert@xxxxxxxxxxxxxx> wrote:

From: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>

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.

The patch applies OK to 2.6.27, 2.6.26 and 2.6.25 (at least).

Should we backport it and if so, how far?

Please do. The problem was introduced somewhere in the 2.5 series.

Thanks,

Finn


Thanks. -- To unsubscribe from this list: send the line "unsubscribe 
linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More 
majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux