mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:20:55 +07:00
coccinelle.txt: update documentation to include M= option
Adding documentation for the new M= option which limits Coccinelle to a specific set of directories. Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
d0bc1fb467
commit
f95ab20972
@ -102,8 +102,14 @@ or
|
|||||||
make coccicheck COCCI=<my_SP.cocci> MODE=report
|
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
|
To apply Coccinelle on a file basis, instead of a directory basis, the
|
||||||
following command may be used:
|
following command may be used:
|
||||||
|
Loading…
Reference in New Issue
Block a user