Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp203785pxb; Tue, 19 Oct 2021 00:44:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4evjxoFl2bhLC9o92uFoLSWMPMHJlnGfiOaSuRYZiCf6oMCCnmWeIZSM2k1eZcXe8xdq/ X-Received: by 2002:a62:1ac4:0:b0:44c:4c4e:1d3c with SMTP id a187-20020a621ac4000000b0044c4c4e1d3cmr34054405pfa.8.1634629456813; Tue, 19 Oct 2021 00:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634629456; cv=none; d=google.com; s=arc-20160816; b=oqmu9D4zN0c+UyH1cF03bvj14Dgk041+bpoCufFaQeS5wcQEEJXOZeLNX+6BUtBs/a 4UuXoyiZpkI6H1oRwNPsOqk52Kv5m9no2nOTCStTPrA1xF15QyQ3sawoLXyjcfhOOlDq 8241Cvi2Siu1mwesv2ylanMKR+mt6zh5wbMU7/EZS4ihpvcS74KoG8TSBYPgHjpF0QhQ AjaODjj7+NTFM1rkIUxXK5G+OX4gPVDMxMsczxtu3FqycbZQwDd6SMndkbSsgpitp5ib 76M2Bb7clzErD7dYgOxlDU8Mle6/wgVXAxRPsjHZ6CmRKAGnLB8pMfh0eq8SpqyXa0MU Vlog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=u8tyRxr9COC4++rCWGuNS0ILGojYEMKhB7KUZQoVMbo=; b=ixrkmA/o/5QfaPSHg5Dhf39FaQtIPGwJhHvQlgq0a1hq5kX+evu66iqmEdFYuE/Fh6 FAFvv35BI9xTPCdbsQdFwrUfoew41e/UK8ZFzvOSUhnNdn18MaqVyrZPfVGT4uQ73qqy wsTWe8N+TRIjgzVudYl2PiXyBPu/b8NJ64P/fm3ZG15j4piVJCm+mEER9k4d7hKhgi7I WPwYE3g2Bp7iOOMYtLbkk5a668+Hevp0qDoeluyjCSZWGmEPppAzuora9TunznEsMWVs iMjr22jF5lBC3EAXwH4wrE5ZNyf6x5W2L8WFpzdEMPL2Yz/7J/2faY0ibe0K1sj6WPiC 0zEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EqVM1lwf; 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 kb10si3615937pjb.46.2021.10.19.00.44.00; Tue, 19 Oct 2021 00:44:16 -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=@kernel.org header.s=k20201202 header.b=EqVM1lwf; 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 S234571AbhJSHpM (ORCPT + 99 others); Tue, 19 Oct 2021 03:45:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:55720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230365AbhJSHpI (ORCPT ); Tue, 19 Oct 2021 03:45:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 198BD6136F; Tue, 19 Oct 2021 07:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634629376; bh=HfzBxbwvlGACvGlHDYJHMxVKdFA+2m32c4s7O2PDMvw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EqVM1lwfZT2zUVbA54MVbz2u67PXB726G/KUKI8X8q1fiJzE/ajBFkkJ8oN/OxHSo FcUBvMk+lYV5bAnNN1p7apvsDOqRvC0iEQL0GYsmLhLKKQ2KG4vhTlM6ey5o8/1saN Asypa0nFpN1wpyP/IioMzIGm1CmfNT5kEGWCbKB3uZSThDIXhOCJ0JscGozLvO9CwJ z9TZKupoexJcSA0vErG3OjN0xnB9XqXLCzaWPPeEvlySnFa8t3pXi/OSsL35eLHmm5 JE65nJ3KpJhHNYl1iG5bi1i6+qdIWs6mybTV6COVcGtuFWRfMW+ZwG7GP3HW/8b+Lu 1FhRztElMFu4A== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mcjlt-001nLh-7t; Tue, 19 Oct 2021 08:42:53 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] scripts: documentation-file-ref-check: ignore hidden files Date: Tue, 19 Oct 2021 08:42:50 +0100 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There's a warning there from a .gitignore file: tools/perf/.gitignore: Documentation/doc.dep This is not really a cross-reference type of warning, so no need to report it. In a matter of fact, it doesn't make sense at all to even parse hidden files, as some text editors may create such files for their own usage. So, just ignore everything that matches this pattern: /\.* Signed-off-by: Mauro Carvalho Chehab --- To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/2] at: https://lore.kernel.org/all/cover.1634629094.git.mchehab+huawei@kernel.org/ scripts/documentation-file-ref-check | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 7187ea5e5149..6865d8e63d5c 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -94,6 +94,9 @@ while () { # Makefiles and scripts contain nasty expressions to parse docs next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); + # It doesn't make sense to parse hidden files + next if ($f =~ m#/\.#); + # Skip this script next if ($f eq $scriptname); -- 2.31.1