From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Subject: Re: [PATCH v3 0/5] bq27xxx_battery data memory update Date: Wed, 27 Sep 2017 15:25:37 +0200 (CEST) Message-ID: References: <20170824033617.20840-1-liam@networkimprov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:37386 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752502AbdI0NZk (ORCPT ); Wed, 27 Sep 2017 09:25:40 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Liam Breck Cc: Julia Lawall , Sebastian Reichel , Gilles Muller , Nicolas Palix , Michal Marek , cocci@systeme.lip6.fr, "Andrew F. Davis" , =?ISO-8859-15?Q?Pali_Roh=E1r?= , Linux PM mailing list 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 >