Re: [PATCH 3/3] flex_array: allow 0 length elements

From: Andrew Morton
Date: Tue Apr 26 2011 - 14:58:40 EST


On Mon, 25 Apr 2011 21:45:43 -0400
Eric Paris <eparis@xxxxxxxxxx> wrote:

> allow elements of 0 length. We already allow flex_arrays with 0 elements, but
> this patch allow us to have elements that are 0 bytes long.

Again, sounds vaguely useful but it adds code and churns the code for
no apparent benefit.

IOW2: why?
--
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/