]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix pseudo_palette setup in asiliantfb_setcolreg()
authorAntonino A. Daplas <adaplas@gmail.com>
Fri, 24 Feb 2006 21:04:20 +0000 (13:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:39 +0000 (14:31 -0800)
commitee713059d4922e4ee17700496d9eb3b95b1ab836
treefe56c8f04342938813edce2bb0c92a984b125457
parentcacfc8cf4ed6e05a0d9a8bd17ab85536abd0f6c5
[PATCH] Fix pseudo_palette setup in asiliantfb_setcolreg()

The setcolreg function will attempt to write 24 color entries to the
pseudo_pallette.  However, the pseudo_palette has only space for 16 entries.

Thanks to Atsushi Nemoto for reporting this bug.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/asiliantfb.c