From: julia.lawall@lip6.fr (Julia Lawall) Date: Wed, 27 Sep 2017 15:25:37 +0200 (CEST) Subject: [Cocci] [PATCH v3 0/5] bq27xxx_battery data memory update In-Reply-To: References: <20170824033617.20840-1-liam@networkimprov.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Wed, 27 Sep 2017, Liam Breck wrote: > On Wed, Sep 27, 2017 at 3:02 AM, Julia Lawall wrote: > > The github version of Coccinelle finally supports the semantic patch for > > Should we add something to the script that aborts if the correct > Coccinelle version is not running? I will prepare a version for integration in the kernel. julia > > > your code. I have attached the semantic patch. I wonder what should be > > done with this? Do you want to use it locally with make coccicheck? Do > > you want it to be integrated into the kernel? Everything in the semantic > > patch depends on the occurrence of BQ27XXX_DATA, so if make coccicheck is > > used on files that don't contain this word, they should be ignored very > > efficiently. So perhaps it is ok for scripts/coccinelle even if it is > > relevant to only one file. > > > > julia >