Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752792AbbLFNNs (ORCPT ); Sun, 6 Dec 2015 08:13:48 -0500 Received: from mail-vk0-f50.google.com ([209.85.213.50]:36215 "EHLO mail-vk0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751791AbbLFNNr (ORCPT ); Sun, 6 Dec 2015 08:13:47 -0500 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 6 Dec 2015 10:13:46 -0300 Message-ID: Subject: Re: [RFC BUG] coccinelle: use_after_iter parse error From: "Geyslan G. Bem" To: Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , cocci@systeme.lip6.fr, LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2423 Lines: 72 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") 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/