From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034569AbcIVRvx (ORCPT ); Thu, 22 Sep 2016 13:51:53 -0400 Received: from smtprelay0087.hostedemail.com ([216.40.44.87]:43306 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1034526AbcIVRuu (ORCPT ); Thu, 22 Sep 2016 13:50:50 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2691:2736:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3871:3872:3873:3874:4321:5007:6742:10004:10400:10848:11232:11658:11914:12050:12294:12740:13069:13153:13161:13228:13229:13311:13357:13439:13894:14659:14721:21063:21080:21434:21451:30012:30029:30030:30054:30091,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,LFtime:2,LUA_SUMMARY:none X-HE-Tag: dogs50_5e09f696f0b1d X-Filterd-Recvd-Size: 2412 Message-ID: <1474566644.8253.15.camel@perches.com> Subject: Re: "CodingStyle: Clarify and complete chapter 7" in docs-next From: Joe Perches To: Al Viro , Jean Delvare Cc: Julia Lawall , Ilya Dryomov , Andy Whitcroft , Linus Torvalds , Jonathan Corbet , Ceph Development , Alex Elder , Sage Weil , LKML , kernel-janitors@vger.kernel.org, Andrew Morton , linux-doc@vger.kernel.org Date: Thu, 22 Sep 2016 10:50:44 -0700 In-Reply-To: <20160922131103.GW2356@ZenIV.linux.org.uk> References: <20160920001159.GM2356@ZenIV.linux.org.uk> <1474339566.1954.25.camel@perches.com> <1474353123.1954.28.camel@perches.com> <20160922112407.47da9393@endymion> <1474540930.8253.9.camel@perches.com> <20160922135758.0399725d@endymion> <20160922131103.GW2356@ZenIV.linux.org.uk> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.21.91-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-09-22 at 14:11 +0100, Al Viro wrote: > The main intent of checkpatch these days appears to be providing an easy > way of thoughtless inflation of commit counts, everything else be damned. You've made this statement several times over many years. I don't believe it's true. I doubt anyone is getting paid per commit. Who really cares enough to game some stupid little metric? If it's really a big deal, name some names.  Otherwise please stop with this dubious argument/point. > Some of these checks are common-sense, some are > absolutely arbitrary, Essentially all of the checkpatch rules are arbitrary. The compiler doesn't care one way or another. All the checks exist just to make code appear more consistent. The conceit being that more consistent code is easier for humans to read and spot potential defects and possible reuse patterns.