Re: [PATCH] kfifo_alloc buffer

From: Stelian Pop
Date: Thu Nov 04 2004 - 14:20:03 EST


On Thu, Nov 04, 2004 at 06:06:32PM +0100, Martin Waitz wrote:

> hi :)
>
> kfifo_alloc tries to round up the buffer size to the next power of two.
> But it accidently uses the original size when calling kfifo_init,
> which will BUG.

Good catch, thanks.

Linus, please apply.

Stelian.
--
Stelian Pop <stelian@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/