From: Lars-Peter Clausen <lars@metafoo.de>
To: Thomas Meyer <thomas@m3y3r.de>
Cc: Julia Lawall <julia@diku.dk>,
Gilles Muller <Gilles.Muller@lip6.fr>,
Nicolas Palix <npalix.work@gmail.com>,
cocci@diku.dk, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] coccinelle: Add patch to use kcalloc instead of kzalloc for array allocations
Date: Tue, 29 Nov 2011 20:42:33 +0100 [thread overview]
Message-ID: <4ED535A9.3070506@metafoo.de> (raw)
In-Reply-To: <1322592151.1534.78.camel@localhost.localdomain>
On 11/29/2011 07:42 PM, Thomas Meyer wrote:
> 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?
>
Sure.
Thanks
- Lars
prev parent reply other threads:[~2011-11-29 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-25 14:46 [PATCH] coccinelle: Add patch to use kcalloc instead of kzalloc for array allocations Lars-Peter Clausen
2011-11-29 18:42 ` Thomas Meyer
2011-11-29 19:42 ` Lars-Peter Clausen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ED535A9.3070506@metafoo.de \
--to=lars@metafoo.de \
--cc=Gilles.Muller@lip6.fr \
--cc=cocci@diku.dk \
--cc=julia@diku.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=npalix.work@gmail.com \
--cc=thomas@m3y3r.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.