Evolutionary development of a semantic patch using Coccinelle
Posted Mar 31, 2010 5:18 UTC (Wed) by
neilbrown (subscriber, #359)
In reply to:
Evolutionary development of a semantic patch using Coccinelle by w_sang
Parent article:
Evolutionary development of a semantic patch using Coccinelle
Thanks... that is quite close to what I wanted.
I really wanted to know if "(struct device_driver *)->groups" was ever set and the following pattern doesn't find any. It wouldn't find a static initialisation though..
struct device_driver *var;
@@
* var->groups
A similar search for struct device->groups does find a few hits.
(
Log in to post comments)