From: Michal Marek <mmarek@suse.com>
To: Amitoj Kaur Chawla <amitoj1606@gmail.com>,
Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr,
nicolas.palix@imag.fr, cocci@systeme.lip6.fr,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions
Date: Thu, 28 Jul 2016 13:23:07 +0200 [thread overview]
Message-ID: <5799EB1B.3030203@suse.com> (raw)
In-Reply-To: <20160728082944.GA25524@amitoj-Inspiron-3542>
On 2016-07-28 10:29, Amitoj Kaur Chawla wrote:
> This script finds instances of allocate and memset which can be
> replaced with a direct call to zalloc equivalent of a function.
>
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
> ---
> Changes in v2:
> -Modified commit message and subject
There is still memcpy in the comment here:
> +/// Prefer zalloc functions instead of using allocate and memcpy.
:)
Michal
prev parent reply other threads:[~2016-07-28 11:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 8:29 [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions Amitoj Kaur Chawla
2016-07-28 8:30 ` Julia Lawall
2016-07-28 11:23 ` Michal Marek [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=5799EB1B.3030203@suse.com \
--to=mmarek@suse.com \
--cc=Gilles.Muller@lip6.fr \
--cc=Julia.Lawall@lip6.fr \
--cc=amitoj1606@gmail.com \
--cc=cocci@systeme.lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.palix@imag.fr \
/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