[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1111061917180.1873@hadrien>
Date: Sun, 6 Nov 2011 19:17:34 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Greg Dietsche <Gregory.Dietsche@....edu>
cc: julia@...u.dk, mmarek@...e.cz, rdunlap@...otime.net,
Gilles.Muller@...6.fr, npalix.work@...il.com, cocci@...u.dk,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND 2/2] coccinelle.txt: update documentation to include M=
option
On Sat, 5 Nov 2011, Gregory.Dietsche@....edu wrote:
> From: Greg Dietsche <Gregory.Dietsche@....edu>
>
> Adding documentation for the new M= option which limits Coccinelle
> to a specific set of directories.
>
> Signed-off-by: Greg Dietsche <Gregory.Dietsche@....edu>
Acked-by: Julia Lawall <julia.lawall@...6.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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists