Skip to contentSkip to conversation

offb: The pseudo_palette is only 16 elements long

PATCH In review Antonino A. Daplas 2 participants 2 messages Jun 2, 2007 – Jun 3, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 9/24 offb: The pseudo_palette is only 16 elements long

The pseudo_palette is only 16 elements long.

---

 drivers/video/offb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/offb.c +1 -1
index 885b428..452433d 100644
@@ -271,7 +271,7 @@ static void __init offb_init_fb(const ch
 		return;
 	}
 
-	size = sizeof(struct fb_info) + sizeof(u32) * 17;
+	size = sizeof(struct fb_info) + sizeof(u32) * 16;
 
 	info = kmalloc(size, GFP_ATOMIC);
 	

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Acked-by on v1 9/24
#1 lore raw
Quoted 3 lines · Antonino A. Daplas

The pseudo_palette is only 16 elements long.

Quoted 10 lines

---

 drivers/video/offb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/offb.c +0 -0
index 885b428..452433d 100644

drivers/video/offb.c static void __init offb_init_fb(const ch · line 276

Quoted 7 lines
drivers/video/offb.c +1 -1
@@ -271,7 +271,7 @@ static void __init offb_init_fb(const ch
 		return;
 	}
 
-	size = sizeof(struct fb_info) + sizeof(u32) * 17;
+	size = sizeof(struct fb_info) + sizeof(u32) * 16;
 
 	info = kmalloc(size, GFP_ATOMIC);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/