Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2464820pxu; Mon, 14 Dec 2020 03:04:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFTxs5R5ck6HEYcFyS5X+scnDxOljGqkLoYXy2kJAojwQ74BOu//TFaCzNcXenbtux3JcF X-Received: by 2002:aa7:d459:: with SMTP id q25mr24024277edr.279.1607943892888; Mon, 14 Dec 2020 03:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607943892; cv=none; d=google.com; s=arc-20160816; b=J+llMLNBfKL/lFNLxxRFWnixLlNTuYwv4FE9CXxYuubLQzw0GjlNYgVllYa/sMyzPX anHiw8wgwAOZ6YAbP9++uNrvuaW0l4ZlO3btmsa5ky6j2G0LcRWxakHODGe2NmpheL4I bZQvgPtMGqx4snjq0UH6wcOfGWxRIW39AyKIteNvBOkE8/3u7/E9SgcgB/LHA2hQy7Tq z1P8Wc6k+nROm3S3XzVKuGqjTTdK0VfvdjGswmr7rh+rMG1rOq0a9HCxH99+IKb9YvYp 9jwbb6Lx8Kc8MP4ZrUbYQzq+0QmQfnFHLfveUmMAczol/kKGuC/Kkcpph2uCqZcaj2Oj litA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:cc:to:subject:from :dkim-signature; bh=uUM/qQe7xT2ekBpQBS9f28sj4Pxras1gl0Ejr5s/mIQ=; b=TxcGXIv6EqTmECzziWcVwUzLyDcWvFGtg9ISMd784mwv1ovZbV+m3a8zA7tDJvcAEw z8R0uTCueYWZ6F0pz3neV72aJUho7LAw/3jbp3H3UsWprGMVSJVB7L6afE7uxbfbTYx4 zgN5ccqO3JOOqDTSdgFdlVyh7nCF8vHsu6O9E8CPar0uXAqcEt2aaDSaE17OdflQUiok DyYL0Oh29Zim79avOLQr0mn0tkb7WaGoG2WyN+UhqKrUaxyx85521SmiRxPUf9j+AwUl RtoScZzQbKR0n3VQPoFcbYNHBCuDbuf3eABwyEQJy9NKFiUzo4wenhHGuBwLYiDilO7Q EEQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fau.de header.s=fau-2013 header.b=fY9C90NH; 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 dd1si9288386ejb.357.2020.12.14.03.04.28; Mon, 14 Dec 2020 03:04:52 -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; dkim=pass header.i=@fau.de header.s=fau-2013 header.b=fY9C90NH; 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 S2395401AbgLNKZ2 (ORCPT + 99 others); Mon, 14 Dec 2020 05:25:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395123AbgLNKZI (ORCPT ); Mon, 14 Dec 2020 05:25:08 -0500 Received: from mx-rz-2.rrze.uni-erlangen.de (mx-rz-2.rrze.uni-erlangen.de [IPv6:2001:638:a000:1025::15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A474DC0613CF for ; Mon, 14 Dec 2020 02:24:28 -0800 (PST) Received: from mx-rz-smart.rrze.uni-erlangen.de (mx-rz-smart.rrze.uni-erlangen.de [IPv6:2001:638:a000:1025::1e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mx-rz-2.rrze.uni-erlangen.de (Postfix) with ESMTPS id 4CvctQ0ZRKzPkXn; Mon, 14 Dec 2020 11:23:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fau.de; s=fau-2013; t=1607941422; bh=uUM/qQe7xT2ekBpQBS9f28sj4Pxras1gl0Ejr5s/mIQ=; h=From:Subject:To:Cc:Date:From:To:CC:Subject; b=fY9C90NH0iuyZzWbxtGrBYjyMyKba9TPMva3Jpcr/Ix4w4IBEsLhP2UyP/Nr6NynK 2FfdiFZLQImmI7IK4Q4qdkrZTmAm3wYvabYRNkqJQm4zsSJuccDhZwnVBTeAsIHQNo ZeDVPOekA3fWC7rttlCWgUiNtv2ES2gW+TSOJ6jBt86Bbif6liB1AOQMyFi0UEHnFP HHp7qTSI0x7VMQctOSCQj+KSRU5GuLmbOvTLsg/XRCHVJblBxluR+uDjBX/T8v+d7S PXFJDNyb+vmCYu77W4DUnCQjXlKYns5Yy79+V8dNzaMLcpo+aA+gQPkCcjCO4CDWwm cl6tx5ueYukHg== X-Virus-Scanned: amavisd-new at boeck4.rrze.uni-erlangen.de (RRZE) X-RRZE-Flag: Not-Spam X-RRZE-Submit-IP: 172.17.10.69 Received: from [10.21.2.135] (rat69.ratnet.stw.uni-erlangen.de [172.17.10.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: U2FsdGVkX1+J0BqfYrzIjxKdPov3fb7P8JsKItkbfKw=) by smtp-auth.uni-erlangen.de (Postfix) with ESMTPSA id 4CvctM5nBdzPkxH; Mon, 14 Dec 2020 11:23:39 +0100 (CET) From: Nicolai Fischer Subject: [PATCH 1/2] checkpatch: kconfig: replace '---help---' with 'help' To: linux-kernel@vger.kernel.org Cc: joe@perches.com, apw@canonical.com, johannes.czekay@fau.de, linux-kernel@i4.cs.fau.de Message-ID: Date: Mon, 14 Dec 2020 11:23:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; } -- 2.28.0