Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336908

Re: [PATCH] scripts/coccinelle: modernize &

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts/coccinelle: modernize &
Date 2016-02-18 01:50 +0100
Message-ID <r3kX8-5Re-23@gated-at.bofh.it> (permalink)
References <r3jRo-59z-5@gated-at.bofh.it> <r3k14-5dZ-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <Julia.Lawall@lip6.fr>
> >
> > ---
> >  scripts/coccinelle/iterators/use_after_iter.cocci |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci b/scripts/coccinelle/iterators/use_after_iter.cocci
> > index f085f59..ce8cc9c 100644
> > --- a/scripts/coccinelle/iterators/use_after_iter.cocci
> > +++ b/scripts/coccinelle/iterators/use_after_iter.cocci
> > @@ -123,7 +123,7 @@ list_remove_head(x,c,...)
> >  |
> >  sizeof(<+...c...+>)
> >  |
> > -&c->member
> > + &c->member
> >  |
> >  c = E
> >  |
> >
>
>
> Verified with:
> spatch --version
> spatch byte-code version 1.0.4-00118-gc7cf750d1c44 compiled with OCaml
> version 4.01.0
>
>
> Tested-by: Nishanth Menon <nm@ti.com>

Thanks!

julia

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] scripts/coccinelle: modernize & Julia Lawall <Julia.Lawall@lip6.fr> - 2016-02-18 00:40 +0100
  Re: [PATCH] scripts/coccinelle: modernize & Nishanth Menon <nm@ti.com> - 2016-02-18 00:50 +0100
    Re: [PATCH] scripts/coccinelle: modernize & Julia Lawall <julia.lawall@lip6.fr> - 2016-02-18 01:50 +0100
    Re: [PATCH] scripts/coccinelle: modernize & Michal Marek <mmarek@suse.com> - 2016-02-19 14:10 +0100
  Re: [PATCH] scripts/coccinelle: modernize & SF Markus Elfring <elfring@users.sourceforge.net> - 2016-02-19 13:30 +0100

csiph-web