From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965620AbcALOFq (ORCPT ); Tue, 12 Jan 2016 09:05:46 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:1560 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965015AbcALOFl (ORCPT ); Tue, 12 Jan 2016 09:05:41 -0500 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Tue, 12 Jan 2016 06:01:12 -0800 Message-ID: <569505CB.1010203@nvidia.com> Date: Tue, 12 Jan 2016 19:25:23 +0530 From: Laxman Dewangan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Julia Lawall , CC: LKML Subject: Re: How to get the coccicheck error from patch References: <56938BFD.3040200@nvidia.com> <56938DD2.30409@nvidia.com> <56939FFC.4000207@nvidia.com> In-Reply-To: X-Originating-IP: [10.19.65.30] X-ClientProxiedBy: DRUKMAIL102.nvidia.com (10.25.59.20) To bgmail102.nvidia.com (10.25.59.11) Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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") 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