Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754523Ab2BDEpf (ORCPT ); Fri, 3 Feb 2012 23:45:35 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:43738 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561Ab2BDEpe (ORCPT ); Fri, 3 Feb 2012 23:45:34 -0500 MIME-Version: 1.0 In-Reply-To: <1328311239.21255.24.camel@joe2Laptop> References: <20120130140905.441199885@openvz.org> <20120130141852.309402052@openvz.org> <20120203074656.GC30543@elte.hu> <20120203083530.GD1968@moon> <20120203090929.GA23996@elte.hu> <20120203012241.bcd3d0c8.akpm@linux-foundation.org> <20120203095227.GA13162@elte.hu> <20120203100743.GA3334@elte.hu> <1328311239.21255.24.camel@joe2Laptop> Date: Fri, 3 Feb 2012 20:45:31 -0800 X-Google-Sender-Auth: yuT806xhCeirMCXeSkrdJuCW70A Message-ID: Subject: Re: [PATCH] checkpatch: Warn on code with 6+ tab indentation From: Tony Luck To: Joe Perches Cc: Linus Torvalds , Andy Whitcroft , Ingo Molnar , Andrew Morton , Cyrill Gorcunov , linux-kernel@vger.kernel.org, Pavel Emelyanov , Serge Hallyn , KAMEZAWA Hiroyuki , Kees Cook , Tejun Heo , Andrew Vagin , "Eric W. Biederman" , Alexey Dobriyan , Andi Kleen , KOSAKI Motohiro , "H. Peter Anvin" , Thomas Gleixner , Glauber Costa , Matt Helsley , Pekka Enberg , Eric Dumazet , Vasiliy Kulikov , Valdis.Kletnieks@vt.edu Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 692 Lines: 17 On Fri, Feb 3, 2012 at 3:20 PM, Joe Perches wrote: > Another might be to limit variable name length to something > shorter than say 10 characters. 10? We have a few cases of variables over 100 (not sure how you are supposed to use them with an 80 character max line length). Current longest is: eOpenLogicalChannelAck_reverseLogicalChannelParameters_multiplexParameters_h2250LogicalChannelParameters at 104 characters. -Tony -- 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/