[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1322592151.1534.78.camel@localhost.localdomain>
Date: Tue, 29 Nov 2011 19:42:31 +0100
From: Thomas Meyer <thomas@...3r.de>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: Julia Lawall <julia@...u.dk>,
Gilles Muller <Gilles.Muller@...6.fr>,
Nicolas Palix <npalix.work@...il.com>, cocci@...u.dk,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] coccinelle: Add patch to use kcalloc instead of kzalloc
for array allocations
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
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists