Skip to content

Commit

Permalink
controlfb: the pseudo_palette is only 16 elements long
Browse files Browse the repository at this point in the history
The pseudo_palette is only 16 elements long.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jul 17, 2007
1 parent 5a17759 commit 1149454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/controlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 info;
struct fb_par_control par;
u32 pseudo_palette[17];
u32 pseudo_palette[16];

struct cmap_regs __iomem *cmap_regs;
unsigned long cmap_regs_phys;
Expand Down

0 comments on commit 1149454

Please sign in to comment.