Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4242339rdb; Thu, 28 Dec 2023 15:31:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhhJedQHmpUap8Vx9R4csMsVbrgw6kQ1U2eGRPjBnh+0EgkbZdJgSI87BbtQU79xcSTo7g X-Received: by 2002:a05:6e02:3205:b0:35f:edcb:6e2e with SMTP id cd5-20020a056e02320500b0035fedcb6e2emr13075631ilb.101.1703806290020; Thu, 28 Dec 2023 15:31:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703806289; cv=none; d=google.com; s=arc-20160816; b=HGolkmoFyjFq9c5h0RozF3cJ4dxbXQtsvEM1hxHo49fT536ivomackR2JRLgAkgVd9 RELCG0UDZre9d6N3IOwsHyHqHVl03Vr1v/J5Lf5omtoJPtW4byy7v6LbN7S9kHbIgKFk Wecp51a+NQKWY9UX6s2CBqpEwllSJKLY2jsxGzJg9m11lBxmyPwsBvFyQFnBV+qAbd0t h9RxBjxq2Qn5EnTggErV7baads/JhOaEMPu4y7znw62oBX8cvkTHgYTiuNbzB/Y8SxiJ NZNWdJU5gKoOPEqJKEo8eYG2C47cCDiEe+fhSZwK/5AJo+NczsNLvvBd3YcwuEy/utci 1Qwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=DV0TUwiNGkqdrGdcaqnkKo+qqCO+RzCFO3exVU5U+ic=; fh=sQ8y8EJ21vM4iheFS0VLoIXYO9kuI8qNGwJ91uZK9NI=; b=qpExnLI1RqgzYuN1WViUM+VXIf7Ng2cB7g+D634xqcfd8ejUmg+ShRWMol+uQty8YE L5Qsnx82lIREfDc7DKRGy6fnd+nLkz4Q9/bBDbU8I+XMbPc9ar34bQ4Oczx4lVgFyNmS 1SG+XPu/3Ubo0N97mhX4gp237B5yyCcli2IyGvfTGhi5yBLQRFFGAPZ49mxM+SeLTBOw iNsfNHtne7YaSMN7L+ZbXBF8+WhbiGbEZp2KTD8KKqdh/ryGGhvVhpHi8VqTFVs/IQUH LB+1OZ5P3vk+InEGXejGDbBFSXkHMd3OCDgECvoClrFquTXmJ9yVhtSyKfi93Wt62Aml XG2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=2Pmq+0f+; spf=pass (google.com: domain of linux-kernel+bounces-12877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12877-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g4-20020a17090adac400b002861c962e15si13875369pjx.15.2023.12.28.15.31.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 15:31:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12877-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=@infradead.org header.s=bombadil.20210309 header.b=2Pmq+0f+; spf=pass (google.com: domain of linux-kernel+bounces-12877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12877-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 84FE32845BA for ; Thu, 28 Dec 2023 23:31:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43F8810A18; Thu, 28 Dec 2023 23:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="2Pmq+0f+" 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 3A42710A02; Thu, 28 Dec 2023 23:31:14 +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: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=DV0TUwiNGkqdrGdcaqnkKo+qqCO+RzCFO3exVU5U+ic=; b=2Pmq+0f+xVFdYSMYlYHPZHwI0E lL3sG+ESe9zKAjnNAQkrNMkV5+BNLsrIVtbzXKyimgF5zp3ylO4417sKaa/UBmaOhKyLQ4HwBqHHx M0Eym9GT9UA7bb9CzF29OaIb4PpbI42xLfm1n0N/45aIPVC2yOcwa6dGe+GOoyoyFJe2r50K1AJYG 9Aq5RbdocUcfCzxxCMX/hbbPKW6TtN9/lllDWyKmv65P9nQhq4aGZXe4xWpc3SSCkEOKgCjuXPXkf ULvLaFkFw4wgz8XoD3Hj8k6DPktPK23Xkkv8XFxredHuslN+yYM1ASsWzCAjYh3e6d4205iuG401E 3QTjFkQw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rIzqM-00HXJZ-1f; Thu, 28 Dec 2023 23:31:14 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org, Mauro Carvalho Chehab Subject: [PATCH] scripts/get_abi.pl: ignore some temp files Date: Thu, 28 Dec 2023 15:31:13 -0800 Message-ID: <20231228233113.5218-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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)$,); my $name = $file; $name =~ s,.*/,,;