lkml.org 
[lkml]   [1999]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug in fbmem.c,
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~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.053 / U:26.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site