Re: [PATCH] ibmveth: consolidate kmalloc of array, memset 0 to kcalloc

From: David Miller
Date: Sun Dec 20 2015 - 13:01:28 EST


From: Nicholas Mc Guire <hofrat@xxxxxxxxx>
Date: Sun, 20 Dec 2015 15:06:18 +0100

> This is an API consolidation only. The use of kmalloc + memset to 0
> is equivalent to kcalloc in this case as it is allocating an array
> of elements.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@xxxxxxxxx>

Applied, thanks.
--
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/