From: Julia Lawall <julia.lawall@lip6.fr>
To: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Cc: julia@diku.dk, mmarek@suse.cz, rdunlap@xenotime.net,
Gilles.Muller@lip6.fr, npalix.work@gmail.com, cocci@diku.dk,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [RESEND 2/2] coccinelle.txt: update documentation to include M= option
Date: Sun, 6 Nov 2011 19:17:34 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.02.1111061917180.1873@hadrien> (raw)
In-Reply-To: <1320544784-24576-3-git-send-email-Gregory.Dietsche@cuw.edu>
On Sat, 5 Nov 2011, Gregory.Dietsche@cuw.edu wrote:
> From: Greg Dietsche <Gregory.Dietsche@cuw.edu>
>
> 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>
> ---
> Documentation/coccinelle.txt | 10 ++++++++--
> 1 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/coccinelle.txt b/Documentation/coccinelle.txt
> index 96b6903..cf44eb6 100644
> --- a/Documentation/coccinelle.txt
> +++ b/Documentation/coccinelle.txt
> @@ -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:
>
> --
> 1.7.6.4
>
>
next prev parent reply other threads:[~2011-11-06 18:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-06 1:59 [RESEND 0/2] coccicheck: Add " Gregory.Dietsche
2011-11-06 1:59 ` [RESEND 1/2] coccicheck: add M= option to control which dir is processed Gregory.Dietsche
2011-11-06 18:17 ` Julia Lawall
2011-11-06 1:59 ` [RESEND 2/2] coccinelle.txt: update documentation to include M= option Gregory.Dietsche
2011-11-06 18:17 ` Julia Lawall [this message]
2012-01-14 21:27 ` [RESEND 0/2] coccicheck: Add " Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1111061917180.1873@hadrien \
--to=julia.lawall@lip6.fr \
--cc=Gilles.Muller@lip6.fr \
--cc=Gregory.Dietsche@cuw.edu \
--cc=cocci@diku.dk \
--cc=julia@diku.dk \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
--cc=npalix.work@gmail.com \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®