Re: [PATCH] coccinelle/null: solve parse error

From: Michal Marek
Date: Mon Jun 09 2014 - 17:50:45 EST


(added the rest of the coccinelle gang to cc)

Dne 28.5.2014 16:10, Himangi Saraogi napsal(a):
> This patch solves the parse-error by adding @@ . This is necessary since
> Coccinelle version 1.0.0-rc20. Also, the comment is added to use a
> recent version of Coccinelle.
>
> Signed-off-by: Himangi Saraogi <himangi774@xxxxxxxxx>
> Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> ---
> scripts/coccinelle/null/badzero.cocci | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/null/badzero.cocci b/scripts/coccinelle/null/badzero.cocci
> index d79baf7..5551da2 100644
> --- a/scripts/coccinelle/null/badzero.cocci
> +++ b/scripts/coccinelle/null/badzero.cocci
> @@ -10,7 +10,7 @@
> // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
> // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
> // URL: http://coccinelle.lip6.fr/
> -// Comments:
> +// Comments: Requires Coccinelle version 1.0.0-rc20 or later
> // Options:
>
> virtual patch
> @@ -19,6 +19,7 @@ virtual org
> virtual report
>
> @initialize:ocaml@
> +@@
> let negtable = Hashtbl.create 101
>
> @depends on patch@
>

--
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/