From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:38 +0000 (-0700) Subject: offb: the pseudo_palette is only 16 elements long X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d01184c8db7f1aa9b10597b9f8071ecc5d7e12f8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git offb: the pseudo_palette is only 16 elements long The pseudo_palette is only 16 elements long. Signed-off-by: Antonino Daplas Acked-by: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/offb.c b/drivers/video/offb.c index 885b42836cbb..452433d46973 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c @@ -271,7 +271,7 @@ static void __init offb_init_fb(const char *name, const char *full_name, return; } - size = sizeof(struct fb_info) + sizeof(u32) * 17; + size = sizeof(struct fb_info) + sizeof(u32) * 16; info = kmalloc(size, GFP_ATOMIC);