scripts/coccinelle: update for compatability with Coccinelle 0.2.4
authorJulia Lawall <julia@diku.dk>
Wed, 24 Nov 2010 14:54:18 +0000 (15:54 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 3 Dec 2010 11:27:01 +0000 (12:27 +0100)
commita1087ef6abedf0bfd60e5e3fddf33192cb2c1325
tree684f6ee97a32ff93c6cf5a0009bc87246cc90222
parent0a18a9386c056028799938960f91be338c4ff349
scripts/coccinelle: update for compatability with Coccinelle 0.2.4

For doubleinit.cocci, Coccinelle 0.2.4 requires a comma after ... in a
field list.  Coccinelle also now behaves gracefully when a definition is
provided for a virtual that doesn't exist, so there is no need for the
semantic patch code to check for this case.

Updated the documentation to reflect the fact that the best results will
now be obtained with Coccinelle version 0.2.4 or later.

Signed-off-by: Julia Lawall <julia@diku.dk>
Documentation/coccinelle.txt
scripts/coccinelle/misc/doubleinit.cocci
scripts/coccinelle/null/deref_null.cocci