]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scripts/coccinelle: modernize &
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 17 Feb 2016 23:16:14 +0000 (00:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:09:00 +0000 (09:09 -0700)
commit 1b669e713f277a4d4b3cec84e13d16544ac8286d upstream.

& is no longer allowed in column 0, since Coccinelle 1.0.4.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/coccinelle/iterators/use_after_iter.cocci

index f085f5968c5238d631d6239c9d2a92a1b85fcd91..ce8cc9c006e56dd46c5c337553755e11a40b5717 100644 (file)
@@ -123,7 +123,7 @@ list_remove_head(x,c,...)
 |
 sizeof(<+...c...+>)
 |
-&c->member
+ &c->member
 |
 c = E
 |