From mboxrd@z Thu Jan 1 00:00:00 1970 From: michael.opdenacker@free-electrons.com (Michael Opdenacker) Date: Thu, 16 Oct 2014 21:26:10 +0200 Subject: [Cocci] Coccinelle rules for module_pci_driver In-Reply-To: References: <543FB678.7000206@free-electrons.com> Message-ID: <54401BD2.9050209@free-electrons.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr Hi Julia, On 10/16/2014 03:56 PM, Julia Lawall wrote: > I suggest the following semantic patch. It is in two parts. The first > part matches all of the functions/declarations to ensure that they are all > present. The second part then makes the transformation. > > I get a change in only one file. Many thanks for this new version (interesting approach that has the advantage of being progressive and repeatable) and for your explanations. I confirm that it works for me and that I will work on making it suitable for "make coccicheck" in the Linux kernel. Cheers, Michael. -- Michael Opdenacker, CEO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com +33 484 258 098