Re: [PATCH] Coccinelle: misc: Improve the script for more accurate results

2016-10-14 Thread Vaishali Thakkar
On Friday 14 October 2016 02:21 PM, Lars-Peter Clausen wrote: > On 10/13/2016 07:01 PM, Vaishali Thakkar wrote: >> >> >> On Thursday 13 October 2016 09:45 PM, Julia Lawall wrote: >>> >>> >>> On Thu, 13 Oct 2016, Vaishali Thakkar wrote: >>> Currently because of the left associativity of the o

Re: [PATCH] Coccinelle: misc: Improve the script for more accurate results

2016-10-14 Thread Lars-Peter Clausen
On 10/13/2016 07:01 PM, Vaishali Thakkar wrote: > > > On Thursday 13 October 2016 09:45 PM, Julia Lawall wrote: >> >> >> On Thu, 13 Oct 2016, Vaishali Thakkar wrote: >> >>> Currently because of the left associativity of the operators, >>> pattern IRQF_ONESHOT | flags does not match with the patte

Re: [PATCH] Coccinelle: misc: Improve the script for more accurate results

2016-10-13 Thread Vaishali Thakkar
On Thursday 13 October 2016 09:45 PM, Julia Lawall wrote: > > > On Thu, 13 Oct 2016, Vaishali Thakkar wrote: > >> Currently because of the left associativity of the operators, >> pattern IRQF_ONESHOT | flags does not match with the pattern >> when we have more than one flag after the disjuncti

Re: [PATCH] Coccinelle: misc: Improve the script for more accurate results

2016-10-13 Thread Julia Lawall
On Thu, 13 Oct 2016, Vaishali Thakkar wrote: > Currently because of the left associativity of the operators, > pattern IRQF_ONESHOT | flags does not match with the pattern > when we have more than one flag after the disjunction. This > eventually results in giving false positives by the script.