diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2016-06-29 18:14:58 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-07-22 06:13:39 -0400 |
commit | c100d537b9a088caddb4e355847986b439b017c2 (patch) | |
tree | edb00e9967deeb22fee0f89546d4307e19a9f75a | |
parent | a9e064c00413fb59e7236be81578024ab0ebe6b2 (diff) |
coccicheck: refer to Documentation/coccinelle.txt and wiki
Refer to the Documentation/coccinelle.txt and supplemental documentation
on the wiki:
https://bottest.wiki.kernel.org/coccicheck
This page shall always refer to the linux-next iteration of scripts/coccicheck.
v4: only refer to the wiki as supplemental documentation, and also
update Documentation/coccinelle.txt.
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Acked-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
-rw-r--r-- | Documentation/coccinelle.txt | 9 | ||||
-rwxr-xr-x | scripts/coccicheck | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/coccinelle.txt b/Documentation/coccinelle.txt index 1c26908ebc16..01fb1dae3163 100644 --- a/Documentation/coccinelle.txt +++ b/Documentation/coccinelle.txt | |||
@@ -38,6 +38,15 @@ as a regular user, and install it with | |||
38 | 38 | ||
39 | sudo make install | 39 | sudo make install |
40 | 40 | ||
41 | Supplemental documentation | ||
42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
43 | |||
44 | For supplemental documentation refer to the wiki: | ||
45 | |||
46 | https://bottest.wiki.kernel.org/coccicheck | ||
47 | |||
48 | The wiki documentation always refers to the linux-next version of the script. | ||
49 | |||
41 | Using Coccinelle on the Linux kernel | 50 | Using Coccinelle on the Linux kernel |
42 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 51 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
43 | 52 | ||
diff --git a/scripts/coccicheck b/scripts/coccicheck index f9293ab04a8b..c92c1528a54d 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck | |||
@@ -1,9 +1,10 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | # Linux kernel coccicheck | |
3 | # | ||
4 | # Read Documentation/coccinelle.txt | ||
3 | # | 5 | # |
4 | # This script requires at least spatch | 6 | # This script requires at least spatch |
5 | # version 1.0.0-rc11. | 7 | # version 1.0.0-rc11. |
6 | # | ||
7 | 8 | ||
8 | DIR="$(dirname $(readlink -f $0))/.." | 9 | DIR="$(dirname $(readlink -f $0))/.." |
9 | SPATCH="`which ${SPATCH:=spatch}`" | 10 | SPATCH="`which ${SPATCH:=spatch}`" |