[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1601121728560.2042@localhost6.localdomain6>
Date: Tue, 12 Jan 2016 17:29:31 +0100 (CET)
From: Julia Lawall <julia.lawall@...6.fr>
To: Laxman Dewangan <ldewangan@...dia.com>
cc: Nicolas.Palix@...g.fr, LKML <linux-kernel@...r.kernel.org>
Subject: Re: How to get the coccicheck error from patch
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@...wanganubuntu-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
>
>
Powered by blists - more mailing lists