]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/controlfb.c
select: deal with math overflow from borderline valid userland data
[linux-2.6-omap-h63xx.git] / drivers / video / controlfb.c
index 8b762739b1e02720ff36bc2010165760a4c252ed..b0be7eac32d817c8cec0255374ae80ab87483d87 100644 (file)
@@ -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;