Skip to content

Commit c100d53

Browse files
mcgrofMichal Marek
authored andcommitted
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>
1 parent a9e064c commit c100d53

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Documentation/coccinelle.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ as a regular user, and install it with
3838

3939
sudo make install
4040

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+
4150
Using Coccinelle on the Linux kernel
4251
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4352

scripts/coccicheck

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
2-
2+
# Linux kernel coccicheck
3+
#
4+
# Read Documentation/coccinelle.txt
35
#
46
# This script requires at least spatch
57
# version 1.0.0-rc11.
6-
#
78

89
DIR="$(dirname $(readlink -f $0))/.."
910
SPATCH="`which ${SPATCH:=spatch}`"

0 commit comments

Comments
 (0)