diff options
author | Nicolas Palix <nicolas.palix@imag.fr> | 2013-07-03 10:41:01 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-07-03 16:58:20 -0400 |
commit | ec97946ed038f4b3faa587bc76152b198805b0c4 (patch) | |
tree | 048774b662e1b340d00decd7072e4f85efb1657c /Documentation/coccinelle.txt | |
parent | 93f14468491747d6d3efd0b3a42785b1d51a127a (diff) |
Coccinelle: Update information about the minimal version required
The naming convention of options has changed one year ago.
The options have been recently updated in the cocci file
and in scripts/coccicheck. This patch also adds this information
in the documentation.
Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Documentation/coccinelle.txt')
-rw-r--r-- | Documentation/coccinelle.txt | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Documentation/coccinelle.txt b/Documentation/coccinelle.txt index 81a329fcd532..7f773d51fdd9 100644 --- a/Documentation/coccinelle.txt +++ b/Documentation/coccinelle.txt | |||
@@ -6,15 +6,17 @@ Copyright 2010 Gilles Muller <Gilles.Muller@lip6.fr> | |||
6 | Getting Coccinelle | 6 | Getting Coccinelle |
7 | ~~~~~~~~~~~~~~~~~~~~ | 7 | ~~~~~~~~~~~~~~~~~~~~ |
8 | 8 | ||
9 | The semantic patches included in the kernel use the 'virtual rule' | 9 | The semantic patches included in the kernel use features and options |
10 | feature which was introduced in Coccinelle version 0.1.11. | 10 | which are provided by Coccinelle version 1.0.0-rc11 and above. |
11 | Using earlier versions will fail as the option names used by | ||
12 | the Coccinelle files and coccicheck have been updated. | ||
11 | 13 | ||
12 | Coccinelle (>=0.2.0) is available through the package manager | 14 | Coccinelle is available through the package manager |
13 | of many distributions, e.g. : | 15 | of many distributions, e.g. : |
14 | 16 | ||
15 | - Debian (>=squeeze) | 17 | - Debian |
16 | - Fedora (>=13) | 18 | - Fedora |
17 | - Ubuntu (>=10.04 Lucid Lynx) | 19 | - Ubuntu |
18 | - OpenSUSE | 20 | - OpenSUSE |
19 | - Arch Linux | 21 | - Arch Linux |
20 | - NetBSD | 22 | - NetBSD |
@@ -36,11 +38,6 @@ as a regular user, and install it with | |||
36 | 38 | ||
37 | sudo make install | 39 | sudo make install |
38 | 40 | ||
39 | The semantic patches in the kernel will work best with Coccinelle version | ||
40 | 0.2.4 or later. Using earlier versions may incur some parse errors in the | ||
41 | semantic patch code, but any results that are obtained should still be | ||
42 | correct. | ||
43 | |||
44 | Using Coccinelle on the Linux kernel | 41 | Using Coccinelle on the Linux kernel |
45 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
46 | 43 | ||