Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753318AbbLFNR2 (ORCPT ); Sun, 6 Dec 2015 08:17:28 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:2405 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752301AbbLFNR0 (ORCPT ); Sun, 6 Dec 2015 08:17:26 -0500 X-IronPort-AV: E=Sophos;i="5.20,390,1444687200"; d="scan'208";a="190637970" Date: Sun, 6 Dec 2015 14:17:19 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: "Geyslan G. Bem" cc: Gilles Muller , Nicolas Palix , Michal Marek , cocci@systeme.lip6.fr, LKML Subject: Re: [RFC BUG] coccinelle: use_after_iter parse error In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (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 Content-Length: 2750 Lines: 83 On Sun, 6 Dec 2015, Geyslan G. Bem wrote: > 2015-12-06 10:09 GMT-03:00 Geyslan G. Bem : > > Hi maintainers, > > > > I'm having these error output using coccinelle. > > Sorry, gmail and its ctrl+enter shortcut. :/ > > geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/ > -j4 > cocciout > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") Thanks ever so much for the report. Since version 1.0.4, & cannot be in column 0, so it would need a space in front of it. I will submit a patch. julia > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > Fatal error: exception Failure("minus: parse error: \n = File > \"./scripts/coccinelle/iterators/use_after_iter.cocci\", line 126, > column 0, charpos = 3561\n around = '&', whole content = > &c->member\n") > > sizeof(<+...c...+>) > | > &c->member // Line 126 > | > c = E > > geyslan@hb ~/Projects/linux $ spatch --version > spatch version 1.0.4 with Python support and with PCRE support > > > > > > > > -- > > Regards, > > > > Geyslan G. Bem > > hackingbits.com > > > > -- > Regards, > > Geyslan G. Bem > hackingbits.com > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/