Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2733971pxb; Tue, 24 Aug 2021 06:26:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMzOeu2ELg2O8MDRMOKQZnBmPJINjJ51VfkZb4ScpcZfJtVDYKszFV1JDfFzS8+kBiUAcX X-Received: by 2002:a05:6402:1a26:: with SMTP id be6mr6828806edb.278.1629811586610; Tue, 24 Aug 2021 06:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629811586; cv=none; d=google.com; s=arc-20160816; b=lxtW8D3s6RkdPghX5hy00BIXFsvng9eWfKdFXZbH6D4NKCeXHVM2YPKLzGB897iIV0 iBNrr4nTwMk+G6VlxpxCEe0OABz+8aCNH3JwE4JZRx5EOzaoEPE/Xtwd/hvnQlxak65T 5EImF15F0b/V7QMU9D6lDOx871wStwCEgUzjkE3RlglkLnYdug+koM3mRKxlX8+WsNIG 69nH665jF89wOf5z5k23WLasOSaQJkFl7ohPhIkwwG5Ld4f9qRXt04wO5swT1Sn+vVqa Ez1zWo2bnCjU35Ylem1BXFrKmwXFgK8iPsoaZvtB+cY0BW8Y9VudKH8HGL+dlthw+14N jigw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=grKpIDVVa0DXNbUFm+HWcdf7lg+ce89Ce2iOZxfIe0o=; b=HDUu/f/+cfgManukqAvPAs6Zo2u9n8JHCn3cLQ6SBWFvFzDkTvtF7hyylz7DvhJP9X 73I8hjoF7cDTFZxOVBidvu/VxYd/u9uVDIzSX6zTCThsIm+I1vi+SePyqUmVz6zSJOZy k6Nso4guCAuxlvMSZQPHcUq7Jaq0QXK3hfgZXYY6/1J8jmEq1oRASj1Z2Jc7AWi5x7RI +WnzSjn/e7Jz2hYibYR/gIg8Hmc9zhMhRwwaacWZYH9gj/4cNBK9Mqt2XqtNM6l+MNB2 D00vIurfTkiqF/28Z4sed1EnyvgBlZ2xPArZyvEbDBvq76YNotZyHFb2fkPBPYBArsCU DEbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=q4f6jMRy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qa10si4170390ejc.678.2021.08.24.06.26.01; Tue, 24 Aug 2021 06:26:26 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=q4f6jMRy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237363AbhHXNZV (ORCPT + 99 others); Tue, 24 Aug 2021 09:25:21 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:30738 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbhHXNZU (ORCPT ); Tue, 24 Aug 2021 09:25:20 -0400 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 17ODOJNu031939; Tue, 24 Aug 2021 22:24:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 17ODOJNu031939 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1629811459; bh=grKpIDVVa0DXNbUFm+HWcdf7lg+ce89Ce2iOZxfIe0o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=q4f6jMRyugZkTS9VD7Ln1WK43K6EqEnA92mzveTQWy2JIlxC3iaXysWRsURBH+PgT ihCNc3eSDfMcOFMgV9ISd42xLBCJqh9G5oCDqUgqvLnCDaS7KX4u2DV/F/upihgMA5 Qs0AL9LKLQ3UOul7NxwcteG+dBd4NkI/m/+KzwSj7h4TDZFf8Bma3X/AHEiVR9Syna U8OAsP/aNPnS300kSpQYm1vhml2hkofAD6GQUhT1BgX7m/DbgeoCXW0c1SmNa/L998 jcl9W78gC+8EVqg81D9InALwb1nqIqjjxLSldQuG2ScdQbX4YyfTSeHHOGO1ooQDbS 6bSS1sOwaR7xQ== X-Nifty-SrcIP: [209.85.214.173] Received: by mail-pl1-f173.google.com with SMTP id w6so12223457plg.9; Tue, 24 Aug 2021 06:24:19 -0700 (PDT) X-Gm-Message-State: AOAM530y3In98bGxK3HcOBDzn/3YRodR2smbxt9BJOtmO5a4JyLWOy3X 8u6aLSh1ccDVhpGnN9nDmw5ik0A2OQuKJ5qmvJM= X-Received: by 2002:a17:902:a5c5:b029:12c:a867:a839 with SMTP id t5-20020a170902a5c5b029012ca867a839mr33424460plq.71.1629811458815; Tue, 24 Aug 2021 06:24:18 -0700 (PDT) MIME-Version: 1.0 References: <20210822192205.43210-1-arielmarcovitch@gmail.com> In-Reply-To: <20210822192205.43210-1-arielmarcovitch@gmail.com> From: Masahiro Yamada Date: Tue, 24 Aug 2021 22:23:41 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/3] checkkconfigsymbols.py: Fix various bugs To: Ariel Marcovitch Cc: Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List , Valentin Rothberg Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 23, 2021 at 4:22 AM Ariel Marcovitch wrote: > > Hi! > > This series fixes some issues in the checkkconfigsymbols.py script. > > The first patch fixes a bug in the --ignore option that makes the > script check only the files matching the pattern instead of ignoring > them. > > The second patch fixes a parsing error in the Kconfig files parser > that makes it ignore 'if' statements after 'help' sections. > > The third patch prevents the user from using 'HEAD' refs in the > --commit option, because it doesn't really work. Honestly, I didn't even know this script. I added Valentin Rothberg, the main contributor to this script. > Thanks! > > -Ariel > > Ariel Marcovitch (3): > checkkconfigsymbols.py: Fix the '--ignore' option > checkkconfigsymbols.py: Fix Kconfig parsing to find 'if' lines > checkkconfigsymbols.py: Forbid passing 'HEAD' to --commit > > scripts/checkkconfigsymbols.py | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > > base-commit: 36a21d51725af2ce0700c6ebcb6b9594aac658a6 > -- > 2.25.1 > -- Best Regards Masahiro Yamada