On Fri, 25 Apr 2014, SF Markus Elfring wrote:

> > I'm doing a kernel wide change on a core API used by a lot of drivers (~250)
> > so is a lot of work to do this manually and I can miss a driver when
> > grepping the code.
> 
> How do you identify your update candidates?
> Have you got any specific filter pattern in mind already?
> 
> Your task will become more "interesting" if you are going to specify the
> precise query on affected source files, won't it?

I think that it is quite straightforward. He makes a rule that looks for 
the initializations of the structure fields, and then moves those 
initializations to the new structure.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to