* Re: How to get the coccicheck error from patch
[not found] ` <alpine.DEB.2.10.1601111356020.2512@hadrien>
@ 2016-01-12 13:55 ` Laxman Dewangan
2016-01-12 16:29 ` Julia Lawall
0 siblings, 1 reply; 4+ messages in thread
From: Laxman Dewangan @ 2016-01-12 13:55 UTC (permalink / raw)
To: Julia Lawall, Nicolas.Palix; +Cc: LKML
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get the coccicheck error from patch
2016-01-12 13:55 ` How to get the coccicheck error from patch Laxman Dewangan
@ 2016-01-12 16:29 ` Julia Lawall
2016-01-12 16:50 ` Laxman Dewangan
0 siblings, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2016-01-12 16:29 UTC (permalink / raw)
To: Laxman Dewangan; +Cc: Nicolas.Palix, LKML
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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get the coccicheck error from patch
2016-01-12 16:29 ` Julia Lawall
@ 2016-01-12 16:50 ` Laxman Dewangan
2016-01-12 17:05 ` Julia Lawall
0 siblings, 1 reply; 4+ messages in thread
From: Laxman Dewangan @ 2016-01-12 16:50 UTC (permalink / raw)
To: Julia Lawall; +Cc: Nicolas.Palix, LKML
On Tuesday 12 January 2016 09:59 PM, Julia Lawall wrote:
>
> 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
>
I have following version for ubuntu.
spatch --version
spatch version 1.0.0-rc10 with Python support and with PCRE support
ldewangan@ldewanganubuntu-System-Product-Name:~$ sudo apt-get install
coccinelle
Reading package lists... Done
Building dependency tree
Reading state information... Done
coccinelle is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 753 not upgraded.
ldewangan@ldewanganubuntu-System-Product-Name:~$
The page is not accessible.
http://cocci.ekstranet.diku.dk/wiki/doku.php
I got the coccinellery from git hub
git clone https://github.com/coccinelle/coccinellery.git
Now how do I build for ubuntu and install it?
Per documentation, it is
./cofigure
make
But I did not see this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get the coccicheck error from patch
2016-01-12 16:50 ` Laxman Dewangan
@ 2016-01-12 17:05 ` Julia Lawall
0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2016-01-12 17:05 UTC (permalink / raw)
To: Laxman Dewangan; +Cc: Nicolas.Palix, LKML
On Tue, 12 Jan 2016, Laxman Dewangan wrote:
>
> On Tuesday 12 January 2016 09:59 PM, Julia Lawall wrote:
> >
> > 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
> >
>
> I have following version for ubuntu.
> spatch --version
> spatch version 1.0.0-rc10 with Python support and with PCRE support
This is very, very old. Try installing the version from github (1.0.4).
Another possibility is: https://launchpad.net/ubuntu/+source/coccinelle
julia
> ldewangan@ldewanganubuntu-System-Product-Name:~$ sudo apt-get install
> coccinelle
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> coccinelle is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 753 not upgraded.
> ldewangan@ldewanganubuntu-System-Product-Name:~$
>
>
>
> The page is not accessible.
> http://cocci.ekstranet.diku.dk/wiki/doku.php
>
> I got the coccinellery from git hub
>
> git clone https://github.com/coccinelle/coccinellery.git
>
>
> Now how do I build for ubuntu and install it?
>
> Per documentation, it is
> ./cofigure
> make
>
>
> But I did not see this.
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-12 17:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <56938BFD.3040200@nvidia.com>
[not found] ` <alpine.DEB.2.10.1601111215160.2512@hadrien>
[not found] ` <56938DD2.30409@nvidia.com>
[not found] ` <alpine.DEB.2.10.1601111224330.2512@hadrien>
[not found] ` <56939FFC.4000207@nvidia.com>
[not found] ` <alpine.DEB.2.10.1601111356020.2512@hadrien>
2016-01-12 13:55 ` How to get the coccicheck error from patch Laxman Dewangan
2016-01-12 16:29 ` Julia Lawall
2016-01-12 16:50 ` Laxman Dewangan
2016-01-12 17:05 ` Julia Lawall
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.