From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 09/24] offb: The pseudo_palette is only 16 elements long Date: Sun, 3 Jun 2007 10:28:58 +0200 (CEST) Message-ID: References: <46613F48.40906@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HulSO-0003bP-VQ for linux-fbdev-devel@lists.sourceforge.net; Sun, 03 Jun 2007 01:29:01 -0700 Received: from europa.telenet-ops.be ([195.130.137.75]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HulSO-0004g4-JC for linux-fbdev-devel@lists.sourceforge.net; Sun, 03 Jun 2007 01:29:00 -0700 In-Reply-To: <46613F48.40906@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net 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 Acked-by: Geert Uytterhoeven > --- > > 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/