Cc: Andrew Morton <akpm@...>, Tero Roponen <teanropo@...>, Pekka Enberg <penberg@...>, <linux-kernel@...>, Alan Cox <alan@...>, Andy Whitcroft <apw@...>, <linux-fbdev-devel@...>
On Wed, 2007-05-30 at 22:04 +0400, Alexey Dobriyan wrote:
[snip]
u32 is correct.
Yes, 256 is too many. the pseudo_palette is used for the 16-color
console only.
I'm impressed that this bug has escaped notice for this long. That bug
is present since the 2.5.x era.
Probably, the best thing to do is hide the pseudo_palette from the
drivers and move it to the console layer where it belongs to spare
future driver writers from palette usage confusion. That will be a
thankless job.
Tony
-