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


Groups > linux.kernel > #1375860 > unrolled thread

[PATCH 3.12 88/98] scripts/coccinelle: modernize &

Started byJiri Slaby <jslaby@suse.cz>
First post2016-04-11 15:40 +0200
Last post2016-04-11 15:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.12 88/98] scripts/coccinelle: modernize & Jiri Slaby <jslaby@suse.cz> - 2016-04-11 15:40 +0200

#1375860 — [PATCH 3.12 88/98] scripts/coccinelle: modernize &

FromJiri Slaby <jslaby@suse.cz>
Date2016-04-11 15:40 +0200
Subject[PATCH 3.12 88/98] scripts/coccinelle: modernize &
Message-ID<rmKel-6GA-1@gated-at.bofh.it>
From: Julia Lawall <Julia.Lawall@lip6.fr>

3.12-stable review patch.  If anyone has any objections, please let me know.

===============

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: Jiri Slaby <jslaby@suse.cz>
---
 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 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
 |
-- 
2.8.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web