summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2016-02-18 00:16:14 +0100
committerMichal Marek <mmarek@suse.com>2016-02-18 11:49:30 +0100
commit1b669e713f277a4d4b3cec84e13d16544ac8286d (patch)
treee986f47c9507302ea6bc1d39112dd1c8fcbcb0eb /scripts/coccinelle
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-1b669e713f277a4d4b3cec84e13d16544ac8286d.tar.bz2
scripts/coccinelle: modernize &
& 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> Cc: stable@vger.kernel.org Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/iterators/use_after_iter.cocci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci b/scripts/coccinelle/iterators/use_after_iter.cocci
index f085f5968c52..ce8cc9c006e5 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
|