Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160AbcDURAN (ORCPT ); Thu, 21 Apr 2016 13:00:13 -0400 Received: from smtprelay0099.hostedemail.com ([216.40.44.99]:40771 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751681AbcDURAM (ORCPT ); Thu, 21 Apr 2016 13:00:12 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:560:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3653:3866:3867:3868:3870:3871:3872:3873:4321:5007:6119:7903:10004:10400:10848:11026:11232:11658:11914:12043:12438:12517:12519:12555:12740:13069:13311:13357:13439:13894:14181:14659:14721:21080:21222:30034:30036:30054:30062:30070: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: twig41_14ba54d99a4a X-Filterd-Recvd-Size: 2204 Message-ID: <1461258007.1918.12.camel@perches.com> Subject: Re: [PATCH 3/3] checkpatch: relax Kconfig help text line number threshold From: Joe Perches To: Yingjoe Chen , Andy Whitcroft , Andi Kleen Cc: linux-kernel@vger.kernel.org, srv_heupstream@mediatek.com Date: Thu, 21 Apr 2016 10:00:07 -0700 In-Reply-To: <1461245285-14918-3-git-send-email-yingjoe.chen@mediatek.com> References: <1461245285-14918-1-git-send-email-yingjoe.chen@mediatek.com> <1461245285-14918-3-git-send-email-yingjoe.chen@mediatek.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu1 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 Content-Length: 1228 Lines: 34 On Thu, 2016-04-21 at 21:28 +0800, Yingjoe Chen wrote: > Current threshold is too strict and many upstream patch doesn't pass > this test. Relax it. I don't have an issue with this. Maybe Andi Kleen does though. > Signed-off-by: Yingjoe Chen > > --- > In v4.6-rc1, 171 new config options was added, and 87 of those options > have < 4 lines and 24 options have only 1 line. After this change, > checkpatch only raise warning when help text only contain 1 line. > > Some options try to workaround this check by adding 2 lines > template like 'If you have this device...' which doesn't add value. > > --- > ?scripts/checkpatch.pl | 2 +- > ?1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 2bf4499..33b9bfc 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -47,7 +47,7 @@ my $configuration_file = ".checkpatch.conf"; > ?my $max_line_length = 80; > ?my $ignore_perl_version = 0; > ?my $minimum_perl_version = 5.10.0; > -my $min_conf_desc_length = 4; > +my $min_conf_desc_length = 2; > ?my $spelling_file = "$D/spelling.txt"; > ?my $codespell = 0; > ?my $codespellfile = "/usr/share/codespell/dictionary.txt";