Skip to contentSkip to conversation

controlfb: The pseudo_palette is only 16 elements long

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

lore
Share & tools
lore
#0 lore raw

PATCH 2/24 controlfb: The pseudo_palette is only 16 elements long

The pseudo_palette is only 16 elements long.

---

 drivers/video/controlfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/controlfb.c +1 -1
index 8b76273..b0be7ea 100644
@@ -94,7 +94,7 @@ static inline int VAR_MATCH(struct fb_va
 struct fb_info_control {
 	struct fb_info		info;
 	struct fb_par_control	par;
-	u32			pseudo_palette[17];
+	u32			pseudo_palette[16];
 		
 	struct cmap_regs	__iomem *cmap_regs;
 	unsigned long		cmap_regs_phys;

-------------------------------------------------------------------------
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 2/24
#1 lore raw
Quoted 3 lines · Antonino A. Daplas

The pseudo_palette is only 16 elements long.

Quoted 21 lines
 drivers/video/controlfb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/controlfb.c +1 -2
index 8b76273..b0be7ea 100644
@@ -94,7 +94,7 @@ static inline int VAR_MATCH(struct fb_va
 struct fb_info_control {
 	struct fb_info		info;
 	struct fb_par_control	par;
-	u32			pseudo_palette[17];
+	u32			pseudo_palette[16];
 
 	struct cmap_regs	__iomem *cmap_regs;
 	unsigned long		cmap_regs_phys;
 
 
 
 
-------------------------------------------------------------------------
Quoted 8 lines

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/
_______________________________________________
Linux-fbdev-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel

-------------------------------------------------------------------------
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/