From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937560AbXG0ROZ (ORCPT ); Fri, 27 Jul 2007 13:14:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759193AbXG0ROP (ORCPT ); Fri, 27 Jul 2007 13:14:15 -0400 Received: from hp3.statik.tu-cottbus.de ([141.43.120.68]:54160 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756857AbXG0ROO (ORCPT ); Fri, 27 Jul 2007 13:14:14 -0400 Message-ID: <46AA27B8.8060701@s5r6.in-berlin.de> Date: Fri, 27 Jul 2007 19:13:28 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.5) Gecko/20070716 SeaMonkey/1.1.3 MIME-Version: 1.0 To: Andrew Morton CC: Krzysztof Halasa , Josh Triplett , linux-kernel@vger.kernel.org, Linus Torvalds , linux-sparse@vger.kernel.org Subject: Re: [PATCH] CodingStyle: proscribe do-while without braces. References: <1185485822.4459.1.camel@josh-work.beaverton.ibm.com> <46A93F92.6050708@s5r6.in-berlin.de> <20070726175929.730fc0be.akpm@linux-foundation.org> <46A9A18D.2050401@s5r6.in-berlin.de> <20070727005349.512c2f8d.akpm@linux-foundation.org> In-Reply-To: <20070727005349.512c2f8d.akpm@linux-foundation.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > On Fri, 27 Jul 2007 09:41:01 +0200 Stefan Richter wrote: ... >> SubmitChecklist already tells us to check with sparse before submission. > > rofl. First we have to talk everyone into checking their stuff with gcc. Ah, I forgot --- Real Submitters don't compile their code before submission. But wait, they also don't track CodingStyle. Seriously though: Precise rules are a priori welcome. But the more rules there are, the less of them we (authors, reviewers) can memorize. If we go for having many rules, then we need to rely more on checkpatch and sparse. When growing into a catch-all rule book, the utility of CodingStyle will shift from an author's guide to a specification for code checking tools. -- Stefan Richter -=====-=-=== -=== ==-== http://arcgraph.de/sr/