Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d01184c8 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

offb: the pseudo_palette is only 16 elements long



The pseudo_palette is only 16 elements long.

Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 24fc7223
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);