Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7355567rdb; Wed, 3 Jan 2024 13:03:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmq0QOaVy4TH9ovp+4rAlLW9lRPz78y63UJx18vkXrN1viwx2esmUC/TeGmD7wzzhK6Hq6 X-Received: by 2002:aa7:92d1:0:b0:6d9:447a:963a with SMTP id k17-20020aa792d1000000b006d9447a963amr19559143pfa.34.1704315819561; Wed, 03 Jan 2024 13:03:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704315819; cv=none; d=google.com; s=arc-20160816; b=l/6pLGWZZ8JF0INSWyfWsyY5XxMdIL49984eYVSXSr0n9X2i6i9BnfY21PQ0CJFe7/ nP3veLDO0gPPmFJENTg8DZzwcV8ot84QIdUdu8TDCLspkefDYTvbxI1oHu1j/LGI+lbP wdf7lVZpI5yI84cuWAnfwAQbgXpth+jszSX9EsTAUglRn+tKQaTTkCy5tvjB5gGDNO2o d8nXL0uU++3z/A3QsJzm3Hk/1sUCTl0Ng2QmmGOf4EkA3JApm8Z2nApFx9Gk+77z/sCt Y5szagVF6+WuntjWaq6TH7sMjp/4TL3+hXsBz6x5oJezNm6Yg7+JwmOSUrAicmyfMpPE 0/4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=iR0cbg1POh/5swWdt13ITCDKZofHsKJuPDbc9ByDZGU=; fh=4fFiy/L6seBDQqcx9XugUfv3INKNNkwhHumM+B/EQlo=; b=UEEdf27AzrCmmdQCoISoKOshUFi0AhxnGg9yS6rFRRvn8NLLQjozKdJIaT6MFFO9aj uLyFfHxHR2lgIHWEqLaCp5wLzuM/F5DLkijUUZoNbMVXKO1pXJxpYsgGkGpMxdaCDRRT LSbnSU7ouF6IurO3miS6Ke2taJW7Q/l9MXsUamMqj4dz3Tt9AeX77tUJy11UCdzhLcLD LOUKKsuf/qcYBK/GaoVY5sb5okFSfOtusq5tjmGNQ9RDBBUXaByJEat9l/jLdJw3ewf8 lxHnlvEuqK/Cbi90Wy1jmutxMWZBZNX/UFFbrnBxwb+9gWC62vB/CRUjvAQ0oaKxepIV blLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=Adts07q7; spf=pass (google.com: domain of linux-kernel+bounces-16003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x4-20020a056a00188400b006d9e84133b7si13923743pfh.217.2024.01.03.13.03.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 13:03:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=Adts07q7; spf=pass (google.com: domain of linux-kernel+bounces-16003-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3CBE52878B4 for ; Wed, 3 Jan 2024 21:03:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1139A1D6A6; Wed, 3 Jan 2024 21:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="Adts07q7" X-Original-To: linux-kernel@vger.kernel.org Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 067901D692; Wed, 3 Jan 2024 21:03:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Received: from localhost (unknown [IPv6:2601:280:5e00:7e19::646]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 45B098E3; Wed, 3 Jan 2024 21:03:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 45B098E3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1704315812; bh=iR0cbg1POh/5swWdt13ITCDKZofHsKJuPDbc9ByDZGU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Adts07q7XU3S9G9jGDNTCSvkKeQTRbx87Sw2IYDBMrJr17LRcpiCstNQCEadPr4cv 0FCEsvwrKsLELLi2wm62KWbEgIMY0vJYEpTZC+iVorQzO9nviAPJpvCgPdGLwELCPb MwbQtjyZiAqo5FsJVPEqkJaIc3BFIDRvQ9IZ69fojmvrTiIAt3Dk+ZFZtsrKOZA9IY wfMO9prgLzGctDrm7MmgXAYltcEt4RUvk6p/NjIcYXpuIVcoKa9Q3WJP+BBuyYTByp ZuUrnQQay6tM1v3Felpc+3wt6lOCyAtEiQe5EBeI66A3IZqoaX25jw4QxYLekP/9y/ 51dOes4vT6paA== From: Jonathan Corbet To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , linux-doc@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH] scripts/get_abi.pl: ignore some temp files In-Reply-To: <20231228233113.5218-1-rdunlap@infradead.org> References: <20231228233113.5218-1-rdunlap@infradead.org> Date: Wed, 03 Jan 2024 14:03:31 -0700 Message-ID: <87plyi86zg.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Randy Dunlap writes: > When there are filenames of the form ".orig" or ".rej" in > the Documenatation/ABI/ subdirectories, there can be confusing or > erroneous output generated. Example: the file > Documenation/ABI/testing/sysfs-bus-papr-pmem.orig causes this > warning message: > > Documentation/ABI/testing/sysfs-bus-papr-pmem:2: WARNING: unknown document: '/powerpc/papr_hcalls' > > Prevent this by skipping over filenames that may be created by > patch/diff tools etc. > > Signed-off-by: Randy Dunlap > Cc: Greg Kroah-Hartman > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Acked-by: Mauro Carvalho Chehab > --- > scripts/get_abi.pl | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/scripts/get_abi.pl b/scripts/get_abi.pl > --- a/scripts/get_abi.pl > +++ b/scripts/get_abi.pl > @@ -93,6 +93,7 @@ sub parse_abi { > return if ($mode & S_IFDIR); > return if ($file =~ m,/README,); > return if ($file =~ m,/\.,); > + return if ($file =~ m,\.(rej|org|orig|bak)$,); Applied, thanks. It would have been nice to create all of those files with a .abi extension so we didn't have to do this kind of blocklisting, but so be it. Should we exclude emacs-style ~ files too? jon