From: "Antonino A. Daplas" The pseudo_palette is only 16 elements long. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- drivers/video/q40fb.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/q40fb.c~q40fb-the-pseudo_palette-is-only-16-elements-long drivers/video/q40fb.c --- a/drivers/video/q40fb.c~q40fb-the-pseudo_palette-is-only-16-elements-long +++ a/drivers/video/q40fb.c @@ -95,7 +95,7 @@ static int __init q40fb_probe(struct pla /* mapped in q40/config.c */ q40fb_fix.smem_start = Q40_PHYS_SCREEN_ADDR; - info = framebuffer_alloc(sizeof(u32) * 256, &dev->dev); + info = framebuffer_alloc(sizeof(u32) * 16, &dev->dev); if (!info) return -ENOMEM; _