[Cocci] --no-loops

2016-02-17 Thread Nicholas Mc Guire
Hi ! --no-loops is documented as: --no-loops drop all back edges derived from looping constructs - unsafe the background is that some scanners will simply not make any progress (e.g. linux-next/lib/rbtree.c:__rb_insert() is a perfect "hang" without --no-loops for

Re: [Cocci] [PATCH] scripts/coccinelle: modernize

2016-02-17 Thread Nishanth Menon
On 02/17/2016 05:16 PM, Julia Lawall wrote: > & is no longer allowed in column 0, since Coccinelle 1.0.4. > > Signed-off-by: Julia Lawall > > --- > scripts/coccinelle/iterators/use_after_iter.cocci |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [Cocci] [PATCH] scripts/coccinelle: modernize

2016-02-17 Thread Julia Lawall
On Wed, 17 Feb 2016, Nishanth Menon wrote: > On 02/17/2016 05:16 PM, Julia Lawall wrote: > > & is no longer allowed in column 0, since Coccinelle 1.0.4. > > > > Signed-off-by: Julia Lawall > > > > --- > > scripts/coccinelle/iterators/use_after_iter.cocci |2 +- > > 1

Re: [Cocci] keeping cast affects match?

2016-02-17 Thread Julia Lawall
On Wed, 17 Feb 2016, Wolfram Sang wrote: > > The isomorphism that allows ignoring a cast only works when the type > > metavariable is used only once. You uare using it twice. The fact that > > you wanted to add it indicates that you really want it to be there. > > Aha, I understand. Thank you

Re: [Cocci] keeping cast affects match?

2016-02-17 Thread Wolfram Sang
> The isomorphism that allows ignoring a cast only works when the type > metavariable is used only once. You uare using it twice. The fact that > you wanted to add it indicates that you really want it to be there. Aha, I understand. Thank you for the explanation! > I think that everything

[Cocci] keeping cast affects match?

2016-02-17 Thread Wolfram Sang
Hi, using Coccinelle v1.04 from Debian: $ spatch -version spatch version 1.0.4 with Python support and with PCRE support The following semantic patch produces a match with current linux-next: @@ expression table, dev; type T; @@ - (T)of_match_device(table, dev)->data +

Re: [Cocci] Red Hat Women in open source award

2016-02-17 Thread Vaishali Thakkar
On Wednesday 17 February 2016 06:17 PM, Derek M Jones wrote: > Julia, > >> If you care to put in a vote for me/Coccinelle... > > I would be happy to vote for you, but do you really > want to win this? > > The women on the academic side are all students and > yours is the only name I recognise on

Re: [Cocci] Red Hat Women in open source award

2016-02-17 Thread Derek M Jones
Julia, If you care to put in a vote for me/Coccinelle... I would be happy to vote for you, but do you really want to win this? The women on the academic side are all students and yours is the only name I recognise on the community list. https://www.redhat.com/en/about/women-in-open-source