From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10357 invoked from network); 7 Jul 1999 23:54:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Jul 1999 23:54:24 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA28757 for ; Mon, 28 Jun 1999 16:29:35 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id MAA20099; Mon, 28 Jun 1999 12:55:24 -0700 Date: Mon, 28 Jun 1999 12:55:24 -0700 From: Richard Henderson To: Jeff Garzik Cc: Vignaud Jean-Baptiste , axp-list , FrameBuffer , Linux kernel , Bibek Sahu , "Adam C. Powell IV" Subject: Re: bug in fbmem.c, Message-ID: <19990628125524.A20008@twiddle.net> References: <000d01bebc8d$37b25fc0$cc000001@PC_VIGNAUD.xandmail.com> <3770E2AF.4BC00019@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <3770E2AF.4BC00019@pobox.com>; from Jeff Garzik on Wed, Jun 23, 1999 at 09:35:43AM -0400 On Wed, Jun 23, 1999 at 09:35:43AM -0400, Jeff Garzik wrote: > + if (copy_size > 0) { > + char tmpbuf [copy_size]; You can't do dynamic stack allocation in the kernel. You'll have to use kmalloc or get_free_page or something. r~