summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/coccinelle.txt9
-rwxr-xr-xscripts/coccicheck5
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
44For supplemental documentation refer to the wiki:
45
46https://bottest.wiki.kernel.org/coccicheck
47
48The 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
8DIR="$(dirname $(readlink -f $0))/.." 9DIR="$(dirname $(readlink -f $0))/.."
9SPATCH="`which ${SPATCH:=spatch}`" 10SPATCH="`which ${SPATCH:=spatch}`"