On Wed, 25 Jan 2012, Artem Bityutskiy wrote:
Hi Julia,I've notcied that the "scripts/coccinelle/iterators/itnull.cocci" semantic patch in the latest 3.3-rc1 Linux kernel does not really work. Or may be it works somehow, but it always errors out with the same error: Fatal error: exception Failure("no clt") I use spatch like this: (current directory is the linux kernel) $ spatch -D report -no_show_diff -very_quiet -no_includes -include_headers -timeout 60 -sp_file scripts/coccinelle/iterators/itnull.cocci arch/parisc/kernel/time.c I've tried to check if it actually works sometimes with the following command: $ find -name *.c | xargs -I{} sh -c 'echo "Checking {}"; spatch -D patch -no_show_diff -very_quiet -no_includes -include_headers -timeout 60 -sp_file scripts/coccinelle/iterators/itnull.cocci {}' It finds all .c files and feeds to spatch. It looks this error message is thrown every time. $ spatch -version spatch version 1.0.0-rc4 with Python support
You need a more recent version (probably the most recent version). julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
