spatch: adjust to and require 1.0.6
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 May 2018 07:55:12 +0000 (09:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 May 2018 07:55:49 +0000 (09:55 +0200)
The spatch tool made an incompatible change in the
attribute syntax, adjust to that and require the
new version.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
gentree.py
patches/0027-genl-const/genl-const.cocci

index 91893ad0100aae9e60979ef0c01032cb0f53bcb8..a8fb7082c13723b4c758b4e04062e32f52736c62 100755 (executable)
@@ -625,7 +625,7 @@ def _main():
     # Our binary requirements go here
     req = reqs.Req()
     req.require('git')
-    req.coccinelle('1.0.0-rc24')
+    req.coccinelle('1.0.6')
     if not req.reqs_match():
         sys.exit(1)
 
index 36c71d62c650536cbb74f78137812745194639a6..58824c72da482b9d0312d6d774d48f892d03fb34 100644 (file)
@@ -1,5 +1,5 @@
 @@
-attribute __genl_const;
+attribute name __genl_const;
 @@
 (
 -const struct genl_multicast_group