Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756707Ab3JGTi1 (ORCPT ); Mon, 7 Oct 2013 15:38:27 -0400 Received: from smtprelay0048.hostedemail.com ([216.40.44.48]:44896 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756577Ab3JGTiY (ORCPT ); Mon, 7 Oct 2013 15:38:24 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:69:355:379:541:599:967:973:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6119:6120:7652:7903:8957:8985:9010:9025:10004:10400:10848:11232:11658:11854:11914:12043:12296:12517:12519:12663:12740:13069:13311:13357,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: arch20_661422b2be940 X-Filterd-Recvd-Size: 2336 Message-ID: <1381174700.2081.209.camel@joe-AO722> Subject: Re: [RFC PATCH] checkpatch: Make the 80-character limit a --strict check only From: Joe Perches To: Josh Triplett Cc: torvalds@linux-foundation.org, gregkh@linux-foundation.org, Andy Whitcroft , linux-kernel@vger.kernel.org Date: Mon, 07 Oct 2013 12:38:20 -0700 In-Reply-To: <20131007193433.GF13643@jtriplet-mobl1> References: <20131007191835.GA28737@jtriplet-mobl1> <1381174106.2081.207.camel@joe-AO722> <20131007193433.GF13643@jtriplet-mobl1> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.4-0ubuntu1 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: 1603 Lines: 38 On Mon, 2013-10-07 at 12:34 -0700, Josh Triplett wrote: > On Mon, Oct 07, 2013 at 12:28:26PM -0700, Joe Perches wrote: > > On Mon, 2013-10-07 at 12:18 -0700, Josh Triplett wrote: > > > The 80-character limit is not a hard-and-fast rule, nor should it be > > > applied blindly by people running checkpatch and fixing its warnings. > > > Sometimes it's better to violate the 80-character "limit" in the name of > > > readability, and when it isn't, it's often better to refactor into a > > > function or otherwise restructure the code rather than just finding > > > increasingly awkward places to break lines. > > > > > > Thus, change checkpatch's LONG_LINE warning to a --strict CHK instead. > > > Anyone wanting to use checkpatch to check for this can easily enough > > > enable --strict or turn on LONG_LINE explicitly, but it shouldn't be > > > part of the default warnings. > > > > I don't agree with this. > > > > CodingStyle says: > > ---------------------- > > The limit on the length of lines is 80 columns and this is a strongly > > preferred limit. > > ---------------------- > > Which is the subject of much controversy and extensive discussion, and > the consensus on the list (including by many maintainers) frequently > differs from that. Been there, had that discussion. https://lkml.org/lkml/2009/12/18/3 I'm not applying/acking this. -- 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/