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

2015-12-20 Thread David Miller
From: Nicholas Mc Guire 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 Applied, thanks. -- To unsubscribe from t

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

2015-12-20 Thread Nicholas Mc Guire
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 --- Found by coccinelle script (relaxed version of scripts/coccinelle/api/alloc/kzalloc-simple.cocci) Patch was co