Re: [PATCH] coccinelle: Add patch to use kcalloc instead of kzallocfor array allocations
From: Thomas Meyer
Date: Tue Nov 29 2011 - 13:42:42 EST
Am Freitag, den 25.11.2011, 15:46 +0100 schrieb Lars-Peter Clausen:
> This patch adds a coccinelle patch to convert array allocations which use
> kzalloc to kcalloc. The advantage of kcalloc is, that will take care of
> integer overflows which could result from the multiplication and it is also
> nicer to read.
Hi Lars,
I did run your kcalloc spatch against 3.2-rc3. are you okay with if I
send the diffs to the LKML?
mfg
thohmas
Attachment:
signature.asc
Description: This is a digitally signed message part