Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756416AbbDPB3g (ORCPT ); Wed, 15 Apr 2015 21:29:36 -0400 Received: from smtprelay0226.hostedemail.com ([216.40.44.226]:57749 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751416AbbDPB31 (ORCPT ); Wed, 15 Apr 2015 21:29:27 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:960:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3871:3872:3873:3874:4321:5007:6119:6261:7903:10004:10394:10400:10848:11232:11658:11914:12517:12519:12740:13019:13069:13161:13229:13311:13357:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: net99_6f5d7b7a02560 X-Filterd-Recvd-Size: 1591 Message-ID: <1429147763.2850.33.camel@perches.com> Subject: Re: CodingStyle parenthesis alignment: was: Re: align to open paren From: Joe Perches To: "Hubbe, Allen" Cc: "apw@canonical.com" , LKML , netdev Date: Wed, 15 Apr 2015 18:29:23 -0700 In-Reply-To: <40F65EF2B5E2254199711F58E3ACB84D781CD94F@MX104CL02.corp.emc.com> References: <40F65EF2B5E2254199711F58E3ACB84D781CD892@MX104CL02.corp.emc.com> <1429131997.2850.15.camel@perches.com> <40F65EF2B5E2254199711F58E3ACB84D781CD94F@MX104CL02.corp.emc.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 19 On Wed, 2015-04-15 at 21:54 +0000, Hubbe, Allen wrote: > I ran with the --fix option, and it changed every rejected indent to > match the column of the open paren. That's probably what you want, > since it's the most consistent with the previous behavior. The > difference is that it does not fix lines that are no longer rejected, > like if they are indented by two per paren. The test file and output > are attached. There might be some utility adding a --style= switch so checkpatch can appropriately warn on K&R vs linux vs bsd vs gnu vs otb, etc... -- 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/