linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Coccinelle: Update information about the minimal version required
@ 2013-07-03 14:41 Nicolas Palix
  2013-07-03 21:00 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Palix @ 2013-07-03 14:41 UTC (permalink / raw)
  To: Michal Marek, Rob Landley, cocci, linux-doc, linux-kernel; +Cc: Nicolas Palix

The naming convention of options has changed one year ago.
The options have been recently updated in the cocci file
and in scripts/coccicheck. This patch also adds this information
in the documentation.

Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
---
 Documentation/coccinelle.txt |   19 ++++++++-----------
 scripts/coccicheck           |    5 +++++
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/Documentation/coccinelle.txt b/Documentation/coccinelle.txt
index 81a329f..7f773d5 100644
--- a/Documentation/coccinelle.txt
+++ b/Documentation/coccinelle.txt
@@ -6,15 +6,17 @@ Copyright 2010 Gilles Muller <Gilles.Muller@lip6.fr>
  Getting Coccinelle
 ~~~~~~~~~~~~~~~~~~~~
 
-The semantic patches included in the kernel use the 'virtual rule'
-feature which was introduced in Coccinelle version 0.1.11.
+The semantic patches included in the kernel use features and options
+which are provided by Coccinelle version 1.0.0-rc11 and above.
+Using earlier versions will fail as the option names used by
+the Coccinelle files and coccicheck have been updated.
 
-Coccinelle (>=0.2.0) is available through the package manager
+Coccinelle is available through the package manager
 of many distributions, e.g. :
 
- - Debian (>=squeeze)
- - Fedora (>=13)
- - Ubuntu (>=10.04 Lucid Lynx)
+ - Debian
+ - Fedora
+ - Ubuntu
  - OpenSUSE
  - Arch Linux
  - NetBSD
@@ -36,11 +38,6 @@ as a regular user, and install it with
 
         sudo make install
 
-The semantic patches in the kernel will work best with Coccinelle version
-0.2.4 or later.  Using earlier versions may incur some parse errors in the
-semantic patch code, but any results that are obtained should still be
-correct.
-
  Using Coccinelle on the Linux kernel
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
diff --git a/scripts/coccicheck b/scripts/coccicheck
index d3757ad..bbf901a 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+#
+# This script requires at least spatch
+# version 1.0.0-rc11.
+#
+
 SPATCH="`which ${SPATCH:=spatch}`"
 
 trap kill_running SIGTERM SIGINT
-- 
1.7.9.5


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

* Re: [PATCH] Coccinelle: Update information about the minimal version required
  2013-07-03 14:41 [PATCH] Coccinelle: Update information about the minimal version required Nicolas Palix
@ 2013-07-03 21:00 ` Michal Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2013-07-03 21:00 UTC (permalink / raw)
  To: Nicolas Palix; +Cc: Rob Landley, cocci, linux-doc, linux-kernel

Dne 3.7.2013 16:41, Nicolas Palix napsal(a):
> The naming convention of options has changed one year ago.
> The options have been recently updated in the cocci file
> and in scripts/coccicheck. This patch also adds this information
> in the documentation.
> 
> Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>

I applied this and the patch that changes the options to kbuild.git#misc.

Thanks,
Michal


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

end of thread, other threads:[~2013-07-03 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-03 14:41 [PATCH] Coccinelle: Update information about the minimal version required Nicolas Palix
2013-07-03 21:00 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).