Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3673804pxu; Sun, 20 Dec 2020 11:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyW0/EK7CYd+b/0/XzcoadP8OeOSTtqzlTstTiaPfPplC0r7EJQa35Q61BS4gHk+5hTBQeZ X-Received: by 2002:a50:b944:: with SMTP id m62mr13142028ede.182.1608491030768; Sun, 20 Dec 2020 11:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608491030; cv=none; d=google.com; s=arc-20160816; b=rWReYAv2XTJCvRlbSMtd5RkPPWb8sa6rNSfKANSpxCxn2p3488m/ShE8/QF12klToy glUUxv4m5sv3KhT8idxuD2BDfft84rxJzM0kBQivVuOuFQg19A7yOfAU5FtSCLMlNrpj bPa01+DS44aQPak0QacuQpRa73qrd31efcIv4TohMsX+kD67/gCeSiCW2TiWXUG6z1QS iUlC9EPz789xd8TWQvRMa2n+WTdTPlfmbOdCZQLOeRn29ftH2oXQTSqQKPR2oG6TriD/ ePBFNhnRbELBV+ODxtTnVh41T1lH80Nm+jJiI2sLIVY5ShogKLZ+plnaHd4snHv245Ck ao1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=5sBXZc8nRsfDPiMtFx+JLw1l5mVxoJ9FsQsLtG4Zifk=; b=mlOCKl5eMGHlMloEmek6o+11xX06R7FxBTdDOwIVTMUATSRTNbu7JKaAV2VTHJFSwX HnR16zt5XJI3DezYF8yaxmhqgrSUHBHWozyGR9hB4s9JikKUlFHwdu/F2CTmeTA9Purn OfFLS0xwRtZdAtGHeo3aKafKTvqh1zMvg7VLbo6lBUu8tohoC8W8huRMMjGLZxoh8l0p LN0AZDHfnyliBh8QIvfZnX49rMK2ldfWBn8Pef3IaQkJd6OaNMPkPJJx3kxQnpSqZrUv /JTllAinsRvObnP2q8JFe9IVX0ZQqkAisOGZTlPCGGBwMfxb5xCIex+e26SBW29sq20c 74jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs30si6574083ejc.200.2020.12.20.11.03.26; Sun, 20 Dec 2020 11:03:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727300AbgLTTC7 (ORCPT + 99 others); Sun, 20 Dec 2020 14:02:59 -0500 Received: from smtprelay0047.hostedemail.com ([216.40.44.47]:37032 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726623AbgLTTC7 (ORCPT ); Sun, 20 Dec 2020 14:02:59 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 253AB2496; Sun, 20 Dec 2020 19:02:18 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2559:2562:2828:2908:3138:3139:3140:3141:3142:3352:3622:3865:3867:3870:3871:3872:4321:5007:7903:10004:10400:10848:11232:11658:11914:12043:12297:12555:12740:12895:13069:13311:13357:13439:13894:14181:14659:14721:21080:21451:21627:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: rain70_05167f927451 X-Filterd-Recvd-Size: 1863 Received: from XPS-9350.home (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Sun, 20 Dec 2020 19:02:16 +0000 (UTC) Message-ID: <6f5c18acb8bac6f2d8c24e50eabc0f163c062475.camel@perches.com> Subject: Re: [PATCH 1/2] checkpatch: kconfig: replace '---help---' with 'help' From: Joe Perches To: Nicolai Fischer , linux-kernel@vger.kernel.org, Andrew Morton Cc: apw@canonical.com, johannes.czekay@fau.de, linux-kernel@i4.cs.fau.de Date: Sun, 20 Dec 2020 11:02:15 -0800 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-12-14 at 11:23 +0100, Nicolai Fischer wrote: > All '---help---' lines have been replaced by just 'help'. > Therefore it is no longer necessary to include '---' in the regex. > > Signed-off-by: Nicolai Fischer > Co-developed-by: Johannes Czekay > Signed-off-by: Johannes Czekay Acked-by: Joe Perches > --- > ?scripts/checkpatch.pl | 2 +- > ?1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 52f467fd32f9..5cd98f2b75f6 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -3323,7 +3323,7 @@ sub process { > ? > > ? if ($lines[$ln - 1] =~ /^\+\s*(?:bool|tristate|prompt)\s*["']/) { > ? $is_start = 1; > - } elsif ($lines[$ln - 1] =~ /^\+\s*(?:---)?help(?:---)?$/) { > + } elsif ($lines[$ln - 1] =~ /^\+\s*help$/) { > ? $length = -1; > ? } > ? >