From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: Re: 2.5 offb breakage Date: Wed, 31 Jul 2002 20:07:07 +0200 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <20020731180708.19824@192.168.4.1> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from [217.167.51.129] (helo=zion.wanadoo.fr) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17Zxs1-0003xO-00 for ; Wed, 31 Jul 2002 11:06:49 -0700 In-Reply-To: Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: James Simmons Cc: linux-fbdev-devel@lists.sourceforge.net >- info = >- kmalloc(sizeof(struct fb_info) + sizeof(struct display) + >- sizeof(u32) * 17, GFP_ATOMIC); >+ size = sizeof(struct fb_info) + sizeof(struct display) + sizeof(u32) * 17; >+ >+ info = kmalloc(size, GFP_ATOMIC); Ok, I fixed that in my tree as well, but didn't yet test with CONFIG_FBCON_ACCEL _and_ that fix. I'll do that now. Ben. ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31