On Tue, 28 Feb 2017, Varsha Rao wrote: >     > >   Does coccinelle need driver to be compiled as a module? As > hdm_dim2 driver > > is not but sm750fb driver is compiled as a module. Does > coccinelle require > > executable file to work? > > No, it just looks at the source code.  It doesn't care about > modules, etc. > >     >     Then it is strange, as I tried again with different drivers, few of them > work and few others don't. >     >     Drivers compiled as module and got output : iio and sm750fb >     Drivers not compiled as module but still got output: lustre and greybus >     Drivers not compiled as module and no output: most (all drivers) and > netlogic > > > Could you try the original experiment again?  Maybe the problem > is somehow > resolved. > >     Same output. >     >    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 So there is no problem? julia > > >    Thanks, >    Varsha > > -- > You received this message because you are subscribed to the Google Groups > "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/2c41d6b9-a3f8-4229-87ba- > a31145c451c5%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > >