Re: [Cocci] [PATCH] invoke arguments the right way in coccinellescript

From: Lars-Peter Clausen
Date: Tue Jul 09 2013 - 12:12:00 EST


On 07/09/2013 05:21 PM, Cristian Bercaru wrote:
> Because the command line arguments were invoked incorrectly
> 'make coccicheck' failed to run 'irqf_oneshot.cocci' and all tests that
> followed. Fixed that.
>
> Signed-off-by: Cristian Bercaru <cristian.bercaru@xxxxxxxxxxxxx>

Time to update your coccinelle installation ;)

--no-include is support in new versions and is prefered over -no_includes

> ---
> scripts/coccinelle/misc/irqf_oneshot.cocci | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/misc/irqf_oneshot.cocci b/scripts/coccinelle/misc/irqf_oneshot.cocci
> index 6cfde94..5cca680 100644
> --- a/scripts/coccinelle/misc/irqf_oneshot.cocci
> +++ b/scripts/coccinelle/misc/irqf_oneshot.cocci
> @@ -4,7 +4,7 @@
> //
> // Confidence: Good
> // Comments:
> -// Options: --no-includes
> +// Options: -no_includes
>
> virtual patch
> virtual context

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/