diff options
author | Julia Lawall <julia@diku.dk> | 2010-11-24 15:54:18 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-12-03 12:27:01 +0100 |
commit | a1087ef6abedf0bfd60e5e3fddf33192cb2c1325 (patch) | |
tree | 684f6ee97a32ff93c6cf5a0009bc87246cc90222 /Documentation/coccinelle.txt | |
parent | 0a18a9386c056028799938960f91be338c4ff349 (diff) | |
download | op-kernel-dev-a1087ef6abedf0bfd60e5e3fddf33192cb2c1325.zip op-kernel-dev-a1087ef6abedf0bfd60e5e3fddf33192cb2c1325.tar.gz |
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>
Diffstat (limited to 'Documentation/coccinelle.txt')
-rw-r--r-- | Documentation/coccinelle.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/coccinelle.txt b/Documentation/coccinelle.txt index 4a276ea..96b6903 100644 --- a/Documentation/coccinelle.txt +++ b/Documentation/coccinelle.txt @@ -36,6 +36,10 @@ as a regular user, and install it with sudo make install +The semantic patches in the kernel will work best with Coccinelle version +0.2.4 or later. Using earlier versions may incur some parse errors in the +semantic patch code, but any results that are obtained should still be +correct. Using Coccinelle on the Linux kernel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |