Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373711
b: refs/heads/master
c: ed621cc
h: refs/heads/master
i:
  373709: bd41386
  373707: f9ade13
  373703: ce40ccd
  373695: a250d99
v: v3
  • Loading branch information
Nicolas Palix authored and Michal Marek committed Apr 8, 2013
1 parent 86a905a commit c18d919
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e395550779efa07ee00809a041534b9641fb7a7
refs/heads/master: ed621cc4a5f6fd41cf02b2408273474d46ac4cac
11 changes: 10 additions & 1 deletion trunk/Documentation/coccinelle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ To apply Coccinelle to a specific directory, M= can be used.
For example, to check drivers/net/wireless/ one may write:

make coccicheck M=drivers/net/wireless/

To apply Coccinelle on a file basis, instead of a directory basis, the
following command may be used:

Expand All @@ -134,6 +134,15 @@ MODE variable explained above.
In this mode, there is no information about semantic patches
displayed, and no commit message proposed.

Additional flags
~~~~~~~~~~~~~~~~~~

Additional flags can be passed to spatch through the SPFLAGS
variable.

make SPFLAGS=--use_glimpse coccicheck

See spatch --help to learn more about spatch options.

Proposing new semantic patches
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion trunk/scripts/coccicheck
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ else
VERBOSE=0
fi

FLAGS="-very_quiet"
FLAGS="$SPFLAGS -very_quiet"

# spatch only allows include directories with the syntax "-I include"
# while gcc also allows "-Iinclude" and "-include include"
Expand Down

0 comments on commit c18d919

Please sign in to comment.