Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Michal Marek
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 > --- > Changes in v2: > -Modified commit message

Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Michal Marek
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 > --- > Changes in v2: > -Modified commit message and subject There is

Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Julia Lawall
Acked-by: Julia Lawall On Thu, 28 Jul 2016, 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 > --- >

Re: [PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Julia Lawall
Acked-by: Julia Lawall On Thu, 28 Jul 2016, 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 > --- > Changes in v2: > -Modified commit

[PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Amitoj Kaur Chawla
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 --- Changes in v2: -Modified commit message and subject scripts/coccinelle/api/zalloc.cocci | 556

[PATCH v2] Coccinelle: Script to replace allocate and memset with zalloc functions

2016-07-28 Thread Amitoj Kaur Chawla
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 --- Changes in v2: -Modified commit message and subject scripts/coccinelle/api/zalloc.cocci | 556