[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5799EB1B.3030203@suse.com>
Date: Thu, 28 Jul 2016 13:23:07 +0200
From: Michal Marek <mmarek@...e.com>
To: Amitoj Kaur Chawla <amitoj1606@...il.com>, Julia.Lawall@...6.fr,
Gilles.Muller@...6.fr, nicolas.palix@...g.fr,
cocci@...teme.lip6.fr, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with
zalloc functions
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@...il.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
Powered by blists - more mailing lists