]> git.baikalelectronics.ru Git - kernel.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)
commit1e13b3693aadd914a6546596bfccad6d67184c65
treefe56c8f04342938813edce2bb0c92a984b125457
parent34ef35e1ea1c6e683c53e040828c18ec2720c103
[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