Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752484Ab3JGVd3 (ORCPT ); Mon, 7 Oct 2013 17:33:29 -0400 Received: from smtprelay0245.hostedemail.com ([216.40.44.245]:41072 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751625Ab3JGVd0 (ORCPT ); Mon, 7 Oct 2013 17:33:26 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:968:973:982: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:2691:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3291:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4605:5007:6120:7652:9025:9121:9388:10004:10049:10400:10848:11026:11232:11233:11658:11914:12043:12262:12438:12517:12519:12555:12679: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 X-HE-Tag: trick38_57eec286ce519 X-Filterd-Recvd-Size: 2356 Message-ID: <1381181602.2081.214.camel@joe-AO722> Subject: Re: [RFC PATCH] checkpatch: Make the 80-character limit a --strict check only From: Joe Perches To: Al Viro Cc: Josh Triplett , torvalds@linux-foundation.org, gregkh@linux-foundation.org, Andy Whitcroft , linux-kernel@vger.kernel.org Date: Mon, 07 Oct 2013 14:33:22 -0700 In-Reply-To: <20131007212302.GB13318@ZenIV.linux.org.uk> References: <20131007191835.GA28737@jtriplet-mobl1> <1381174106.2081.207.camel@joe-AO722> <20131007193433.GF13643@jtriplet-mobl1> <20131007212302.GB13318@ZenIV.linux.org.uk> 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: 1525 Lines: 46 On Mon, 2013-10-07 at 22:23 +0100, Al Viro wrote: > On Mon, Oct 07, 2013 at 12:34:33PM -0700, Josh Triplett wrote: > > > I've seen far more examples of the 80-column limit making code less > > readable rather than more. It's only really helpful when it forces code > > restructuring, *not* when it just forces an arbitrary line break. > > So teach that piece of crap to complain about fucked-in-head line breaks like > ret_val = > leaf_shift_left(tb, > tb-> > lnum > [0], > tb-> > lbytes > - > 1); > in addition to obscenely long lines (and yes, it is a real-world example). Yup, that's pretty ugly. It was autogenerated and introduced when Linus rather arbitrarily lindented the reiserfs code. btw: I think lindent should be removed from scripts/ http://lkml.org/lkml/2013/2/11/390 I believe reiserfs was originally set to a 132 column width maximum. commit bd4c625c061c2a38568d0add3478f59172455159 Author: Linus Torvalds Date: Tue Jul 12 20:21:28 2005 -0700 reiserfs: run scripts/Lindent on reiserfs code This was a pure indentation change, using: scripts/Lindent fs/reiserfs/*.c include/linux/reiserfs_*.h -- 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/