From: Thomas Meyer <thomas@m3y3r.de>
To: Lars-Peter Clausen <lars@metafoo.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 19:42:31 +0100 [thread overview]
Message-ID: <1322592151.1534.78.camel@localhost.localdomain> (raw)
In-Reply-To: <1322232368-28814-1-git-send-email-lars@metafoo.de>
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
next prev parent reply other threads:[~2011-11-29 18:42 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 [this message]
2011-11-29 19:42 ` Lars-Peter Clausen
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=1322592151.1534.78.camel@localhost.localdomain \
--to=thomas@m3y3r.de \
--cc=Gilles.Muller@lip6.fr \
--cc=cocci@diku.dk \
--cc=julia@diku.dk \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=npalix.work@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox