* [Cocci] junk output
@ 2013-04-26 13:52 Artem Bityutskiy
2013-04-26 13:57 ` Richard W.M. Jones
0 siblings, 1 reply; 5+ messages in thread
From: Artem Bityutskiy @ 2013-04-26 13:52 UTC (permalink / raw)
To: cocci
Hi Julia, Richard,
not sure if this was already reported, but the latest Fedora 18
coccinelle produces a lot of junk. Just an example using the linux
kernel scripts:
$ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c
init_defs_builtins: /usr/share/coccinelle/standard.h
HANDLING: drivers/gpio/gpio-sch.c
No matches found for clk_get clk_put
Skipping:drivers/gpio/gpio-sch.c
left
left
left
left
left
left
left
right
right
right
right
right
right
left
left
left
left
left
left
left
left
left
left
Notice these lefts and rights.
$ rpm -q coccinelle
coccinelle-1.0.0-0.rc14.6.fc18.x86_64
Any suggestions?
Thanks!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Cocci] junk output
2013-04-26 13:52 [Cocci] junk output Artem Bityutskiy
@ 2013-04-26 13:57 ` Richard W.M. Jones
2013-04-26 14:04 ` Artem Bityutskiy
0 siblings, 1 reply; 5+ messages in thread
From: Richard W.M. Jones @ 2013-04-26 13:57 UTC (permalink / raw)
To: cocci
On Fri, Apr 26, 2013 at 04:52:17PM +0300, Artem Bityutskiy wrote:
> Hi Julia, Richard,
>
> not sure if this was already reported, but the latest Fedora 18
> coccinelle produces a lot of junk. Just an example using the linux
> kernel scripts:
>
> $ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c
>
> init_defs_builtins: /usr/share/coccinelle/standard.h
> HANDLING: drivers/gpio/gpio-sch.c
> No matches found for clk_get clk_put
> Skipping:drivers/gpio/gpio-sch.c
> left
> left
> left
[...]
I can confirm this happens. I have filed a bug:
https://bugzilla.redhat.com/show_bug.cgi?id=957169
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Cocci] junk output
2013-04-26 13:57 ` Richard W.M. Jones
@ 2013-04-26 14:04 ` Artem Bityutskiy
2013-04-26 14:07 ` Richard W.M. Jones
0 siblings, 1 reply; 5+ messages in thread
From: Artem Bityutskiy @ 2013-04-26 14:04 UTC (permalink / raw)
To: cocci
On Fri, 2013-04-26 at 14:57 +0100, Richard W.M. Jones wrote:
> On Fri, Apr 26, 2013 at 04:52:17PM +0300, Artem Bityutskiy wrote:
> > Hi Julia, Richard,
> >
> > not sure if this was already reported, but the latest Fedora 18
> > coccinelle produces a lot of junk. Just an example using the linux
> > kernel scripts:
> >
> > $ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c
> >
> > init_defs_builtins: /usr/share/coccinelle/standard.h
> > HANDLING: drivers/gpio/gpio-sch.c
> > No matches found for clk_get clk_put
> > Skipping:drivers/gpio/gpio-sch.c
> > left
> > left
> > left
> [...]
>
> I can confirm this happens. I have filed a bug:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=957169
Oh, many thanks Richard for looking at this so quickly and creating a
bug!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Cocci] junk output
2013-04-26 14:04 ` Artem Bityutskiy
@ 2013-04-26 14:07 ` Richard W.M. Jones
2013-04-26 14:45 ` Julia Lawall
0 siblings, 1 reply; 5+ messages in thread
From: Richard W.M. Jones @ 2013-04-26 14:07 UTC (permalink / raw)
To: cocci
On Fri, Apr 26, 2013 at 05:04:20PM +0300, Artem Bityutskiy wrote:
> On Fri, 2013-04-26 at 14:57 +0100, Richard W.M. Jones wrote:
> > On Fri, Apr 26, 2013 at 04:52:17PM +0300, Artem Bityutskiy wrote:
> > > Hi Julia, Richard,
> > >
> > > not sure if this was already reported, but the latest Fedora 18
> > > coccinelle produces a lot of junk. Just an example using the linux
> > > kernel scripts:
> > >
> > > $ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c
> > >
> > > init_defs_builtins: /usr/share/coccinelle/standard.h
> > > HANDLING: drivers/gpio/gpio-sch.c
> > > No matches found for clk_get clk_put
> > > Skipping:drivers/gpio/gpio-sch.c
> > > left
> > > left
> > > left
> > [...]
> >
> > I can confirm this happens. I have filed a bug:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=957169
>
> Oh, many thanks Richard for looking at this so quickly and creating a
> bug!
I don't know why it happens, but updating to -rc17 fixes it,
so I'll get an update in soon.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Cocci] junk output
2013-04-26 14:07 ` Richard W.M. Jones
@ 2013-04-26 14:45 ` Julia Lawall
0 siblings, 0 replies; 5+ messages in thread
From: Julia Lawall @ 2013-04-26 14:45 UTC (permalink / raw)
To: cocci
On Fri, 26 Apr 2013, Richard W.M. Jones wrote:
> On Fri, Apr 26, 2013 at 05:04:20PM +0300, Artem Bityutskiy wrote:
> > On Fri, 2013-04-26 at 14:57 +0100, Richard W.M. Jones wrote:
> > > On Fri, Apr 26, 2013 at 04:52:17PM +0300, Artem Bityutskiy wrote:
> > > > Hi Julia, Richard,
> > > >
> > > > not sure if this was already reported, but the latest Fedora 18
> > > > coccinelle produces a lot of junk. Just an example using the linux
> > > > kernel scripts:
> > > >
> > > > $ spatch -sp_file ./scripts/coccinelle/free/clk_put.cocci drivers/gpio/gpio-sch.c
> > > >
> > > > init_defs_builtins: /usr/share/coccinelle/standard.h
> > > > HANDLING: drivers/gpio/gpio-sch.c
> > > > No matches found for clk_get clk_put
> > > > Skipping:drivers/gpio/gpio-sch.c
> > > > left
> > > > left
> > > > left
> > > [...]
> > >
> > > I can confirm this happens. I have filed a bug:
> > >
> > > https://bugzilla.redhat.com/show_bug.cgi?id=957169
> >
> > Oh, many thanks Richard for looking at this so quickly and creating a
> > bug!
>
> I don't know why it happens, but updating to -rc17 fixes it,
> so I'll get an update in soon.
Sorry about that. I'm glad that the problem is already fixed :)
julia
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-26 14:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-26 13:52 [Cocci] junk output Artem Bityutskiy
2013-04-26 13:57 ` Richard W.M. Jones
2013-04-26 14:04 ` Artem Bityutskiy
2013-04-26 14:07 ` Richard W.M. Jones
2013-04-26 14:45 ` 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.