lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] coccinelle: Add patch to use kcalloc instead of kzalloc for array allocations
From
Date
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

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-11-29 19:45    [W:0.046 / U:3.144 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site