[Cocci] Re: [PATCH] coccinelle: Add patch to use kcalloc instead of
kzalloc for array allocations
thomas at m3y3r.de
Tue Nov 29 19:42:31 CET 2011
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.
I did run your kcalloc spatch against 3.2-rc3. are you okay with if I
send the diffs to the LKML?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://lists.diku.dk/pipermail/cocci/attachments/20111129/8eee5817/attachment.pgp
More information about the Cocci