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-Tag: v3.12-rc1~28172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d01184c8db7f1aa9b10597b9f8071ecc5d7e12f8;p=kernel%2Fkernel-generic.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 885b428..452433d 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);