Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: julia.lawall@lip6.fr (Julia Lawall)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Coccinelle rules for module_pci_driver
Date: Thu, 16 Oct 2014 21:28:15 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1410162127260.2633@hadrien> (raw)
In-Reply-To: <54401BD2.9050209@free-electrons.com>



On Thu, 16 Oct 2014, Michael Opdenacker wrote:

> 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.

Just run coccinelle/tools/sgen/sgen on it and see what happens.

julia

      reply	other threads:[~2014-10-16 19:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-16 12:13 [Cocci] Coccinelle rules for module_pci_driver Michael Opdenacker
2014-10-16 13:33 ` Julia Lawall
2014-10-16 13:56 ` Julia Lawall
2014-10-16 19:26   ` Michael Opdenacker
2014-10-16 19:28     ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1410162127260.2633@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox