On Thu, 16 Apr 2020, Markus Elfring wrote:

> >> elfring@Sonne:~/Projekte/Linux/next-patched> spatch 
> >> --include-headers-for-types 
> >> ~/Projekte/Coccinelle/janitor/use_devm_platform_get_and_ioremap_resource3.cocci
> >>  drivers/i2c/busses/i2c-rcar.c
> >
> > No, include headers for types doesn't have any impact on how many header
> > files are included.  You need options like --all-includes or
> > --recursive-includes.
>
> I still observe that the known patch hunk is not generated even with the 
> addition
> of one of these command options.
> https://lore.kernel.org/patchwork/patch/1223734/
> https://lore.kernel.org/linux-i2c/20200414134827.18674-1-zhengdej...@gmail.com/
>
> Would I need any extra parameters here?

Perhaps -I options to help it find the relevant .h file.

julia

>
>
> Will the Coccinelle software need any further improvements also around the
> desired processing for pointers and corresponding data structures?
>
> Regards,
> Markus
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to