Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-18 Thread Julia Lawall
On Tue, 18 Oct 2016, Vaishali Thakkar wrote: > > > On Tuesday 18 October 2016 10:31 PM, Julia Lawall wrote: > > > > > > On Tue, 18 Oct 2016, Vaishali Thakkar wrote: > > > >> > >> > >> On Tuesday 18 October 2016 10:04 PM, Julia Lawall wrote: > >>> I get the following in patch mode that I don't ge

Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-18 Thread Vaishali Thakkar
On Tuesday 18 October 2016 10:31 PM, Julia Lawall wrote: > > > On Tue, 18 Oct 2016, Vaishali Thakkar wrote: > >> >> >> On Tuesday 18 October 2016 10:04 PM, Julia Lawall wrote: >>> I get the following in patch mode that I don't get in context mode: >> >> Hi, >> >> Are you getting same number of

Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-18 Thread Julia Lawall
On Tue, 18 Oct 2016, Vaishali Thakkar wrote: > > > On Tuesday 18 October 2016 10:04 PM, Julia Lawall wrote: > > I get the following in patch mode that I don't get in context mode: > > Hi, > > Are you getting same number of devm cases in your report for the context > and patch mode? [except this

Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-18 Thread Vaishali Thakkar
On Tuesday 18 October 2016 10:04 PM, Julia Lawall wrote: > I get the following in patch mode that I don't get in context mode: Hi, Are you getting same number of devm cases in your report for the context and patch mode? [except this case] > diff -u -p a/drivers/power/supply/tps65090-charger.c

Re: [PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-18 Thread Julia Lawall
I get the following in patch mode that I don't get in context mode: diff -u -p a/drivers/power/supply/tps65090-charger.c b/drivers/power/supply/tps\ 65090-charger.c --- a/drivers/power/supply/tps65090-charger.c +++ b/drivers/power/supply/tps65090-charger.c @@ -311,7 +311,8 @@ static int tps65090_c

[PATCH v2 0/3] Coccinelle: misc: Improve the script for more accurate results

2016-10-16 Thread Vaishali Thakkar
Few changes to improve the results given by the irqf_oneshot.cocci: - Change in the matching rules to eliminate false postives in the patch mode - Change in the context mode to eliminate false postives in the context mode - Support for the missing devm_request_threaded_irq in context, report