From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbcFUUhj (ORCPT ); Tue, 21 Jun 2016 16:37:39 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38144 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbcFUUhi (ORCPT ); Tue, 21 Jun 2016 16:37:38 -0400 X-IronPort-AV: E=Sophos;i="5.26,506,1459807200"; d="scan'208";a="182056604" Date: Tue, 21 Jun 2016 22:36:53 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: "Luis R. Rodriguez" cc: Gilles Muller , nicolas.palix@imag.fr, mmarek@suse.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, gregkh@linuxfoundation.org, markivx@codeaurora.org, stephen.boyd@linaro.org, zohar@linux.vnet.ibm.com, broonie@kernel.org, ming.lei@canonical.com, tiwai@suse.de, johannes@sipsolutions.net, chunkeey@googlemail.com, hauke@hauke-m.de, jwboyer@fedoraproject.org, dmitry.torokhov@gmail.com, dwmw2@infradead.org, jslaby@suse.com, torvalds@linux-foundation.org, deepa.kernel@gmail.com, cocci@systeme.lip6.fr Subject: Re: [PATCH v3 8/8] scripts/coccinelle: require coccinelle >= 1.0.4 on device_node_continue.cocci In-Reply-To: <1466536893-23355-9-git-send-email-mcgrof@kernel.org> Message-ID: References: <1466536893-23355-1-git-send-email-mcgrof@kernel.org> <1466536893-23355-9-git-send-email-mcgrof@kernel.org> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Jun 2016, Luis R. Rodriguez wrote: > Make use of the new Requires: tag to be able to specify coccinelle binary > version requirements. The cocci file device_node_continue.cocci requires at > least coccinelle 1.0.4. > > Signed-off-by: Luis R. Rodriguez Acked-by: Julia Lawall > --- > scripts/coccinelle/iterators/device_node_continue.cocci | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/coccinelle/iterators/device_node_continue.cocci b/scripts/coccinelle/iterators/device_node_continue.cocci > index 38ab744a4037..a36c16db171b 100644 > --- a/scripts/coccinelle/iterators/device_node_continue.cocci > +++ b/scripts/coccinelle/iterators/device_node_continue.cocci > @@ -5,8 +5,11 @@ > // Copyright: (C) 2015 Julia Lawall, Inria. GPLv2. > // URL: http://coccinelle.lip6.fr/ > // Options: --no-includes --include-headers > +// Requires: 1.0.4 > // Keywords: for_each_child_of_node, etc. > > +// This uses a conjunction, which requires at least coccinelle >= 1.0.4 > + > virtual patch > virtual context > virtual org > -- > 2.8.2 > >