mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
offb: the pseudo_palette is only 16 elements long
The pseudo_palette is only 16 elements long. Signed-off-by: Antonino Daplas <adaplas@gmail.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
24fc72239a
commit
d01184c8db
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ static void __init offb_init_fb(const char *name, const char *full_name,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
size = sizeof(struct fb_info) + sizeof(u32) * 17;
|
size = sizeof(struct fb_info) + sizeof(u32) * 16;
|
||||||
|
|
||||||
info = kmalloc(size, GFP_ATOMIC);
|
info = kmalloc(size, GFP_ATOMIC);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue