> ~/git/kernels/staging/drivers/staging/most/hdm-dim2/dim2_sysfs.c > ret.out
>
> init_defs_builtins: /usr/lib64/coccinelle/standard.h
> minus: parse error:
> File "ret.cocci", line 10, column 0, charpos = 80
> around = '',
> whole content =
The file[ret.cocci] sent by you works perfectly fine for me without any parsing
error. Are you sure there is nothing else in the same file [ret.cocci]?
Yes, nothing is there.
Parsing error is shown at the line 10 and file has 9 lines. Also, in your
first mail you seemed to have something else as an error. [Exception
failure]
> [varsha@varsha coccinelle]$ spatch --sp-file ret.cocci --no-includes
> ~/git/kernels/staging/drivers/staging/most/hdm-dim2/dim2_sysfs.c > ret.out
> init_defs_builtins: /usr/lib64/coccinelle/standard.h
> HANDLING:
> /home/varsha/git/kernels/staging/drivers/staging/most/hdm-dim2/dim2_sysfs.c
If you have installed coccinelle from package manager then what is under
coccinelle directory?
Within /usr/lib64/coccinelle/
I have the following files:
ocaml spatch spatch.opt standard.h standard.iso
Have you cloned coccinelle code and have tried to
install it manually as well?
No, I have not.
Thanks,
Varsha