Re: [PATCH v3 2/2] video: da8xx-fb: Fix casting of info->pseudo_palette
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2014-04-05 11:35:52
Also in:
lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2014-04-05 11:35:52
Also in:
lkml
Hi Tomi, On Fri, Apr 4, 2014 at 12:49 PM, Tomi Valkeinen [off-list ref] wrote:
I wonder why the pseudo_palette in fb.h is 'void *' in the first place. It seems to be cast to 'u32 *' everywhere...
Historically, this was driver-specific. Many drivers stored u16 pixel values.
I guess it can be changed to u32 now, dropping all casts.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds