Re: [PATCH -v2] flex_arrays: allow zero length flex arrays

From: James Morris
Date: Mon May 02 2011 - 20:21:00 EST


On Thu, 28 Apr 2011, Eric Paris wrote:

> Just like kmalloc will allow one to allocate a 0 length segment of memory
> flex arrays should do the same thing. It should bomb if you try to use
> something, but it should at least allow the allocation.

This patch does not apply to current -linus.

--
James Morris
<jmorris@xxxxxxxxx>
--
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/