Commit 11494543 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

controlfb: the pseudo_palette is only 16 elements long

The pseudo_palette is only 16 elements long.
Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5a17759c
...@@ -94,7 +94,7 @@ static inline int VAR_MATCH(struct fb_var_screeninfo *x, struct fb_var_screeninf ...@@ -94,7 +94,7 @@ static inline int VAR_MATCH(struct fb_var_screeninfo *x, struct fb_var_screeninf
struct fb_info_control { struct fb_info_control {
struct fb_info info; struct fb_info info;
struct fb_par_control par; struct fb_par_control par;
u32 pseudo_palette[17]; u32 pseudo_palette[16];
struct cmap_regs __iomem *cmap_regs; struct cmap_regs __iomem *cmap_regs;
unsigned long cmap_regs_phys; unsigned long cmap_regs_phys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment