Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285830
b: refs/heads/master
c: f95ab20
h: refs/heads/master
v: v3
  • Loading branch information
Greg Dietsche authored and Michal Marek committed Jan 14, 2012
1 parent bd6cd95 commit 4a57e16
Show file tree
Hide file tree
Showing 2 changed files with 9 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: d0bc1fb4672b978b608400a5112249cdbc28f9ae
refs/heads/master: f95ab20972cfefa8ee5428d6c3afd4cb8eacabf4
10 changes: 8 additions & 2 deletions trunk/Documentation/coccinelle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,15 @@ or
make coccicheck COCCI=<my_SP.cocci> MODE=report


Using Coccinelle on (modified) files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Controlling Which Files are Processed by Coccinelle
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default the entire kernel source tree is checked.

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 Down

0 comments on commit 4a57e16

Please sign in to comment.