> I'm away from my computer right now so can't test this, but try declaring 
> __iomem as an attribute:

@display@
attribute name __iomem;
identifier action;
@@
*void __iomem * action(...)
 { ... }


elfring@Sonne:~/Projekte/Coccinelle/janitor> spatch --parse-cocci 
show_iomem_functions2.cocci
…
minus: parse error:
  File "show_iomem_functions2.cocci", line 5, column 14, charpos = 70
  around = '*',
  whole content = *void __iomem * action(...)


Test version: 1.0.8-00131-g675b9670


How many software development resources will be needed
to get such SmPL script variants to work?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to