linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/24] offb: The pseudo_palette is only 16 elements long
@ 2007-06-02  9:58 Antonino A. Daplas
  2007-06-03  8:28 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Antonino A. Daplas @ 2007-06-02  9:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Geert Uytterhoeven, Linux Fbdev development list

The pseudo_palette is only 16 elements long.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
---

 drivers/video/offb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/offb.c b/drivers/video/offb.c
index 885b428..452433d 100644
--- a/drivers/video/offb.c
+++ b/drivers/video/offb.c
@@ -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/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 09/24] offb: The pseudo_palette is only 16 elements long
  2007-06-02  9:58 [PATCH 09/24] offb: The pseudo_palette is only 16 elements long Antonino A. Daplas
@ 2007-06-03  8:28 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2007-06-03  8:28 UTC (permalink / raw)
  To: Linux Fbdev development list; +Cc: Andrew Morton

On Sat, 2 Jun 2007, Antonino A. Daplas wrote:
> The pseudo_palette is only 16 elements long.
> 
> Signed-off-by: Antonino Daplas <adaplas@gmail.com>

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

> ---
> 
>  drivers/video/offb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/offb.c b/drivers/video/offb.c
> index 885b428..452433d 100644
> --- a/drivers/video/offb.c
> +++ b/drivers/video/offb.c
> @@ -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 -- geert@linux-m68k.org

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-03  8:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02  9:58 [PATCH 09/24] offb: The pseudo_palette is only 16 elements long Antonino A. Daplas
2007-06-03  8:28 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).