Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbXFWEE6 (ORCPT ); Sat, 23 Jun 2007 00:04:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750823AbXFWEEt (ORCPT ); Sat, 23 Jun 2007 00:04:49 -0400 Received: from ozlabs.org ([203.10.76.45]:55498 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbXFWEEt (ORCPT ); Sat, 23 Jun 2007 00:04:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18044.39897.718750.969247@cargo.ozlabs.ibm.com> Date: Sat, 23 Jun 2007 14:04:41 +1000 From: Paul Mackerras To: Dave Hansen Cc: Joel Schopp , Andy Whitcroft , Andrew Morton , Randy Dunlap , linux-kernel@vger.kernel.org Subject: Re: [PATCH] update checkpatch.pl to version 0.06 In-Reply-To: <1182535330.26162.50.camel@localhost> References: <1182532151.26162.45.camel@localhost> <467C0CE9.5010502@austin.ibm.com> <1182535330.26162.50.camel@localhost> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 24 Dave Hansen writes: > Several of our on-disk filesystems have an ioctl function that already > has indented goto labels. I don't think it's quite worth churning all > of these (working) filesystems to make a style checker happy. I agree. > I think it's worse style to be mixing label indentation in a file as it > is to create new "correct" indentation labels. That's why I suggested > using context in the file to determine it rather than absolute rules. I don't think indentation of labels is something one can or should be too prescriptive about. As you say, it depends on the context. Having a script being fascist about such things makes it useless, because I for one will just start ignoring the script totally. Paul. - 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/