Re: [PATCH 1/3] flex_array: flex_array_prealloc takes a number ofelements, not an end

From: Andrew Morton
Date: Tue Apr 26 2011 - 14:57:39 EST


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

> Change flex_array_prealloc to take the number of elements for which space
> should be allocated instead of the last (inclusive) element. Users
> and documentation are updated accordingly.

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/