Hello,
I am getting errors when I run the following command
spatch --sp-file coccinelle/ret.cocci --no-includes --dir git/kernels/staging/drivers/staging/most/hdm-dim2/dim2_sysfs.c > ret.out
and the error which i got is:
init_defs_builtins: /usr/lib64/coccinelle/standard.h
Fatal error: exception Failure("unexpected code before the first rule: [0; (68, (\"\", [0], [0]))]\n")
I have installed coccinelle successfully.
Packages which were installed,
coccinelle 1.0.5-2.fc25
ocaml 4.02.3-3.fc25
ocaml-compiler-libs 4.02.3-3.fc25
ocaml-findlib 1.6.2-1.fc25
ocaml-pcre 7.1.5-3.fc24
ocaml-runtime 4.02.3-3.fc25
I am using fedora 25 and kernel release is 4.9.11-200.fc25.x86_64.
Thanks,
Varsha