Skip to contentSkip to conversation

junk output

Cocci Artem Bityutskiy 3 participants 5 messages Apr 26, 2013

lore
Share & tools
lore
#0 lore raw

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!

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#1 lore raw
Quoted 8 lines · Artem Bityutskiy

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
Quoted 7 lines

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.

Signature · 3 lines
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
#2 lore raw
Quoted 16 lines · Richard W.M. Jones
Quoted 8 lines · Artem Bityutskiy

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
Quoted 7 lines

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

Quoted 5 lines

[...]

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!

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#3 lore raw
Quoted 17 lines · Artem Bityutskiy
Quoted 16 lines · Richard W.M. Jones
Quoted 15 lines · Artem Bityutskiy

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

Quoted 8 lines
Quoted 5 lines

[...]

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.

Signature · 4 lines
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/
#4 lore raw
Quoted 22 lines · Richard W.M. Jones
Quoted 21 lines · Artem Bityutskiy
Quoted 20 lines · Richard W.M. Jones
Quoted 8 lines · Artem Bityutskiy

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
Quoted 7 lines

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:

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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