From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934814AbcALQ3g (ORCPT ); Tue, 12 Jan 2016 11:29:36 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:56303 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934528AbcALQ3d (ORCPT ); Tue, 12 Jan 2016 11:29:33 -0500 X-IronPort-AV: E=Sophos;i="5.20,558,1444687200"; d="scan'208";a="196953462" Date: Tue, 12 Jan 2016 17:29:31 +0100 (CET) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: Laxman Dewangan cc: Nicolas.Palix@imag.fr, LKML Subject: Re: How to get the coccicheck error from patch In-Reply-To: <569505CB.1010203@nvidia.com> Message-ID: References: <56938BFD.3040200@nvidia.com> <56938DD2.30409@nvidia.com> <56939FFC.4000207@nvidia.com> <569505CB.1010203@nvidia.com> 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, 12 Jan 2016, Laxman Dewangan wrote: > Nicolas, > > When I run the commands coccicheck for the file with of_table.cocci, it > reports error as: > > spatch --sp-file ./scripts/coccinelle/misc/of_table.cocci > drivers/rtc/rtc-max77xxx.c --o tmp.cinit_defs_builtins: > /usr/share/coccinelle/standard.h > Fatal error: exception Failure("unexpected struct/union type name") > > ldewangan@ldewanganubuntu-System-Product-Name:~/upstream/linux-next/linux-next$ > spatch -D report --very-quiet --no-show-diff --cocci-file > ./scripts/coccinelle/misc/of_table.cocci drivers/rtc/rtc-max77xxx.c > > Fatal error: exception Failure("unexpected struct/union type name") Hmm, actually, it might be your version of Coccinelle. What version are you using? The latest is 1.0.4, which you can get from github. julia > > > Is there any issue in these commands? Other commands work fine. > > Before running commands, I did make > make coccicheck MODE=report > > > > On Monday 11 January 2016 06:26 PM, Julia Lawall wrote: > > You could also write to the mailing list. Someone else might know. > > Actually, I never use make coccicheck... > > > > julia > >