Re: bug in fbmem.c,

Richard Henderson (rth@twiddle.net)
Mon, 28 Jun 1999 12:55:24 -0700


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/