Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7379991rdb; Wed, 3 Jan 2024 14:06:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGI8FG04fON11IhvIP8g7JCS3yzC0ewFKeJ2td5+CHvkf6OvOr4sXK1whuV7LX4RcNy2Vv3 X-Received: by 2002:ad4:4448:0:b0:680:d2f0:d1ca with SMTP id l8-20020ad44448000000b00680d2f0d1camr1334706qvt.29.1704319601414; Wed, 03 Jan 2024 14:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704319601; cv=none; d=google.com; s=arc-20160816; b=yc/hGOn8VTAUS+MNvRxlb5E0pf/uEGI9xq9s40r2pkz38+jIVI5Ebw5UNkP/cX8zhe WKqQtZX1/5VEkseXo21t8JgpjtljnhVwULx/RVYCI6L5bwjr6OJ5cpz6CcUIeFy8v3x9 vcdmSctFAYHlF+s4CjMZExgV7cN1C3KHF7HOebRxoO9Vr7+tu8Z3QzqK2oi89siieY3X Qc37YbJvHQQzWsqH0uvHfzQ05L753+AjVTBCujn4/n2KpfQhW4JfVSIas1Xrh53DUnKH jT9MlQL+3sstWOMH2alOhqYPeLzHTZmRIS88hiwOpnzkSMp+mLeEHK/a+i2hM7GVoFTs s9QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=EdRu0W6GLHIJHEn2wYm3TYenMT7vzPnopJo0YAUEvEw=; fh=ENUxGAQyZBd0xmAd2+2BZHrOVBysKKw6bzFT+JDr8Lo=; b=VjnhluVHhXzIk0Us1yHlyp58LVfMtixjmiAJ3pzzEezAFthUUhIWlbGN1Q2IQK0Khw IeXeJJr0UpRpADvosKPfbC5BctuQEwcNEaAoINxVXbelq7wHrme1Xabr8VwK107kdfY7 mUh9ApzRkn5BuUioofcPSXfIeTzpkHRi6lTJeYDjerntV86NSbWgkZrw075iEW0oQsL0 TqmM+pFok5fF0cDwaY6J4dvVjLq17WrQHFFwTyCiPgVwybfEpgQ/wXmB2Q/H5uAu7UHq f/Gdebh2QvVUO9LM8Vdh9QDNirCakx77Z+5ocFRxYa1O/es55QJeSSEBtoa2/oCJbiG4 aNGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=A66KHMrY; spf=pass (google.com: domain of linux-kernel+bounces-16047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16047-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h12-20020a0cf44c000000b00680b16ddd2asi7655594qvm.495.2024.01.03.14.06.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 14:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=A66KHMrY; spf=pass (google.com: domain of linux-kernel+bounces-16047-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16047-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1DA011C20BF8 for ; Wed, 3 Jan 2024 22:06:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC9F41DA36; Wed, 3 Jan 2024 22:06:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="A66KHMrY" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 547B21DA2B; Wed, 3 Jan 2024 22:06:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=EdRu0W6GLHIJHEn2wYm3TYenMT7vzPnopJo0YAUEvEw=; b=A66KHMrYX8zsXLf5kNempcbVRt PUm25fnu4eg7G4U03eyDLL/8CJ/A+lJi/DevVYrbc5/MmOqLjPVSS3urBOo59shDywoxi9a3uQT9E h/d4sBYwKWXrMQZJTbWFgchV/0bkW+pOpjz/9gMw6jYGxNFEcY6aFuzEcyekX1f8VPMTPAoCB/Vaf /QEsdLie51L1ENWWg2v9uOOhFwP+Hru9SCctSHe6IckflttuIC20Al5ULivha9d8y0tkhsxGgtjvV f4ivLHbN16AXlcQ6H++ZEnJxPssGEq7ne9K75e2/Ro2X0vNs/lEzoVHgGgleidgljSlFs6uw6Japt bH6/r7Kg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rL9Ne-00CDji-2h; Wed, 03 Jan 2024 22:06:30 +0000 Message-ID: Date: Wed, 3 Jan 2024 14:06:30 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] scripts/get_abi.pl: ignore some temp files Content-Language: en-US To: Jonathan Corbet , linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , linux-doc@vger.kernel.org, Mauro Carvalho Chehab References: <20231228233113.5218-1-rdunlap@infradead.org> <87plyi86zg.fsf@meer.lwn.net> From: Randy Dunlap In-Reply-To: <87plyi86zg.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/3/24 13:03, Jonathan Corbet wrote: > 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? Hm, probably. Someday. -- #Randy