From 98272f479c2126a135dfcb12484e93d5888164ab Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 9 May 2018 09:55:12 +0200 Subject: spatch: adjust to and require 1.0.6 The spatch tool made an incompatible change in the attribute syntax, adjust to that and require the new version. Signed-off-by: Johannes Berg --- gentree.py | 2 +- patches/0027-genl-const/genl-const.cocci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gentree.py b/gentree.py index 91893ad0..a8fb7082 100755 --- a/gentree.py +++ b/gentree.py @@ -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) diff --git a/patches/0027-genl-const/genl-const.cocci b/patches/0027-genl-const/genl-const.cocci index 36c71d62..58824c72 100644 --- a/patches/0027-genl-const/genl-const.cocci +++ b/patches/0027-genl-const/genl-const.cocci @@ -1,5 +1,5 @@ @@ -attribute __genl_const; +attribute name __genl_const; @@ ( -const struct genl_multicast_group -- cgit v1.2.3