Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757513Ab0AOMqR (ORCPT ); Fri, 15 Jan 2010 07:46:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757171Ab0AOMqQ (ORCPT ); Fri, 15 Jan 2010 07:46:16 -0500 Received: from einhorn.in-berlin.de ([192.109.42.8]:48818 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260Ab0AOMqP (ORCPT ); Fri, 15 Jan 2010 07:46:15 -0500 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <4B506378.3090507@s5r6.in-berlin.de> Date: Fri, 15 Jan 2010 13:45:44 +0100 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20100102 SeaMonkey/1.1.18 MIME-Version: 1.0 To: Julia Lawall CC: Mark Brown , Pekka Enberg , David Miller , adi@hexapodia.org, nm127@freemail.hu, david.vrabel@csr.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, cocci@diku.dk, Andrew Morton , Nicolas Palix Subject: Re: Changelog quality References: <4B502C6B.7000802@s5r6.in-berlin.de> <20100115.005445.263291449.davem@davemloft.net> <20100115.012233.202457727.davem@davemloft.net> <84144f021001150149u3b784d26g1822be6c5c3ecbf@mail.gmail.com> <20100115110845.GB28625@sirena.org.uk> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Julia Lawall wrote: > On Fri, 15 Jan 2010, Mark Brown wrote: >> On Fri, Jan 15, 2010 at 11:05:21AM +0100, Julia Lawall wrote: >>> On Fri, 15 Jan 2010, Pekka Enberg wrote: >>>> It seems to me that the scripts are kernel specific so why don't we >>>> put those useful scripts _within_ the kernel source tree and introduce >>>> a "make coccinelle-check" target? I guess many of these scripts are also applicable to other C programs. But having such tests bundled with the kernel source and ready to be run from make sounds good to me too. >>> Indeed, perhaps a solution that would satisfy everyone would be to make a >>> place for scripts, perhaps with subdirectories for various tools, and then >>> when one submits a patch for tool X, one could then submit the script at >>> the same time (if it wasn't there already) and just refer to the script >>> that was used. That way, if someone wants to know more about how the >>> change was made, they could look up the information, and if one does not, >>> then one would not be bother by having to scroll down to see the actual >>> patch. >> This would also mean that other people could run and re-run the scripts >> during development much more easily which would help improve the >> coverage of new code. > > On the other hand, one has to take into account the fact that at least in > my case, the patches that are submitted are the ones that I have carefully > checked for correctness. Having a make target in the kernel might give > some suggestion of quality that is perhaps not appropriate? > > julia Surely some tests are more suitable for automation than others. Those who use these tests are probably aware though that the resulting reports or patches require careful review. This is similar as with reports from checkpatch, sparse, lockdep etc., except that coccinelle already creates a fix patch rather than just an error log. -- Stefan Richter -=====-==-=- ---= -==== http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/