public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] coccinelle/null: solve parse error
@ 2014-05-28 14:10 Himangi Saraogi
  2014-06-09 21:50 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Himangi Saraogi @ 2014-05-28 14:10 UTC (permalink / raw)
  To: Michal Marek, linux-kernel, kbuild, julia.lawall

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@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
---
 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@
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] coccinelle/null: solve parse error
  2014-05-28 14:10 [PATCH] coccinelle/null: solve parse error Himangi Saraogi
@ 2014-06-09 21:50 ` Michal Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2014-06-09 21:50 UTC (permalink / raw)
  To: Himangi Saraogi
  Cc: linux-kernel, kbuild, julia.lawall, Gilles Muller, Nicolas Palix,
	cocci@systeme.lip6.fr

(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@gmail.com>
> Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
>  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@
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-09 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 14:10 [PATCH] coccinelle/null: solve parse error Himangi Saraogi
2014-06-09 21:50 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox