Skip to content

Commit

Permalink
coccicheck: refer to Documentation/coccinelle.txt and wiki
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Nicolas Palix <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
mcgrof authored and Michal Marek committed Jul 22, 2016
1 parent a9e064c commit c100d53
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Documentation/coccinelle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ as a regular user, and install it with

sudo make install

Supplemental documentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For supplemental documentation refer to the wiki:

https://bottest.wiki.kernel.org/coccicheck

The wiki documentation always refers to the linux-next version of the script.

Using Coccinelle on the Linux kernel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
5 changes: 3 additions & 2 deletions scripts/coccicheck
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash

# Linux kernel coccicheck
#
# Read Documentation/coccinelle.txt
#
# This script requires at least spatch
# version 1.0.0-rc11.
#

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

0 comments on commit c100d53

Please sign in to comment.