On 1/14/19 12:31 AM, Dmitry Torokhov wrote:
Signed-off-by: Gustavo A. R. Silva
Applied, thank you.
Thanks, Dmitry.
--
Gustavo
On Tue, Jan 08, 2019 at 03:15:56PM -0600, Gustavo A. R. Silva wrote:
> One of the more common cases of allocation size calculations is finding the
> size of a structure that has a zero-sized array at the end, along with memory
> for some number of elements for that array. For example:
>
> struct
One of the more common cases of allocation size calculations is finding the
size of a structure that has a zero-sized array at the end, along with memory
for some number of elements for that array. For example:
struct foo {
int stuff;
void *entry[];
};
instance = kzalloc(sizeof(struct
3 matches
Mail list logo