forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michal Marek <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,17 @@ Copyright 2010 Gilles Muller <[email protected]> | |
Getting Coccinelle | ||
~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The semantic patches included in the kernel use the 'virtual rule' | ||
feature which was introduced in Coccinelle version 0.1.11. | ||
The semantic patches included in the kernel use features and options | ||
which are provided by Coccinelle version 1.0.0-rc11 and above. | ||
Using earlier versions will fail as the option names used by | ||
the Coccinelle files and coccicheck have been updated. | ||
|
||
Coccinelle (>=0.2.0) is available through the package manager | ||
Coccinelle is available through the package manager | ||
of many distributions, e.g. : | ||
|
||
- Debian (>=squeeze) | ||
- Fedora (>=13) | ||
- Ubuntu (>=10.04 Lucid Lynx) | ||
- Debian | ||
- Fedora | ||
- Ubuntu | ||
- OpenSUSE | ||
- Arch Linux | ||
- NetBSD | ||
|
@@ -36,11 +38,6 @@ 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 | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters