From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751156Ab2CAFKg (ORCPT ); Thu, 1 Mar 2012 00:10:36 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:46003 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750833Ab2CAFK0 (ORCPT ); Thu, 1 Mar 2012 00:10:26 -0500 Message-ID: <1330578622.23314.53.camel@joe2Laptop> Subject: Re: [PATCH v3] checkpatch: Add some --strict coding style checks From: Joe Perches To: Andrew Morton Cc: Kalle Valo , Andy Whitcroft , David Miller , "John W. Linville" , Ilan Elias , Samuel Ortiz , Amitkumar Karwar , LKML , netdev , "Bruce W. Allen" , Bing Zhao Date: Wed, 29 Feb 2012 21:10:22 -0800 In-Reply-To: <1330575843.23314.52.camel@joe2Laptop> References: <20120229173421.GA13733@tuxdriver.com> <477F20668A386D41ADCC57781B1F70430836762D55@SC-VEXCH1.marvell.com> <1330542811.21491.7.camel@joe2Laptop> <477F20668A386D41ADCC57781B1F70430836762D6C@SC-VEXCH1.marvell.com> <1330575843.23314.52.camel@joe2Laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-02-29 at 20:24 -0800, Joe Perches wrote: > Argument alignment across multiple lines should > match the open parenthesis. > > Logical continuations should be at the end of > the previous line, not the start of a new line. > > These are not required by CodingStyle so make the > tests active only when using --strict. > > Improved_by_examples_from: "Bruce W. Allen" > Signed-off-by: Joe Perches > --- > V3: Use perl 5.10 features > Use a runtime check of perl version so $balanced_parens > is not used in perl versions that don't support it. > Update memset and min_t checks for newer $balanced_parens > test. > Improve alignment position test. > Add message suggesting perl upgrade. Forgot to mention this stops a hang in the memset tests.