Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2425127yba; Mon, 22 Apr 2019 06:38:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0CTJiVt9mRvOEB2sLGLcVcU8YljEMFGa8qOxJFkYO8BsMkGzBuHayejhqifpVfYK4jcW/ X-Received: by 2002:a63:b03:: with SMTP id 3mr4499338pgl.267.1555940317933; Mon, 22 Apr 2019 06:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555940317; cv=none; d=google.com; s=arc-20160816; b=gblE6F5aVbsIuKXuH8jNQrX+maoZ/HkzeZZ6PC+2/E7mT6hRv0ElN+C6wV7xZhtz9V ppmhmgvvKveYjwhFZGRohqVZuCy6Shmm2UPZ3q5Xq7jnudm7QsMpZdg3k+9e6JbQg1Ax XZ6Fza45DGRG3zTwlT3rasF/ftW0ZP6aI73ZkSiJm9Afn2qUgosFOcfAQW4fPjhav9Gh /kfQbg1T9rZqO7NxThogglMbo8JGsOpWcQ650LQ7Xo3u+CvNonmafi17BZnEj721MMfg 9q6uga9rpJ/T7y0/PjAanbVD6XBpvzLFrgGKzFz0eYiSIXlG/dRnEuge6BhfVxV14Wpv i2mg== 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=LknHlP8O80qHE1WCh8WxWrtnHyrgma3TZ5Je3ultqgs=; b=uLCW+XDgcUJha3y9G9PE35ejYQomRnkGV3SuPuQMH3+NM3FWUO8CmcTpl5u9Loemvl HT+HGKvUZfX1Eym4YTQ1NMvAeMJwZWu8CxJNxFjgaZnh8mWdT27T0u/oZDveGAC9qcdn YYw15M2ppQ8n9V9FX+E5SDX6+8uhJny08OrMCkRYj6w1Rnbkh2L+WitC6osgPqx5tcfj 9yD4NAJUS8woqsEHlBv1Kl2A/+x3C1OpSm+4jtv1FgimCM7qW84xmoi/EZVIIprmcSuA Qrz+cqNIgHHbgImbxxzixcR/loi/0rkstre6u/ijk7DtjZC8D+KnDaf9xcWkATpWF4h2 Epvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="S/sucOVH"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si12892732pls.327.2019.04.22.06.38.22; Mon, 22 Apr 2019 06:38:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="S/sucOVH"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728284AbfDVNgr (ORCPT + 99 others); Mon, 22 Apr 2019 09:36:47 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36814 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727328AbfDVN2N (ORCPT ); Mon, 22 Apr 2019 09:28:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LknHlP8O80qHE1WCh8WxWrtnHyrgma3TZ5Je3ultqgs=; b=S/sucOVHPYUdGATx3TbiajJgkN oxeB7igzj3QwP6vUEA6GcI1uKwZYJsIukbOxvflCPRBh8W7qpY7yspXZZBBFb8UuoWfitWN9znld5 YyhSRuA7gTQwbFkl0CkBK80IL2lzWSgbm6NwvtWlpoymdMbyzawSmON4R34i+pqwK/bfXo7rXTJL9 XRLyBUVf6+vb1HHhK97eo8rLvvjYH7WCSU66mDOD1oFck3Qyu4/0n1GM7YdWEuKJQq8hta/BC5gqR ZVQy1NmKuTNwZqgWk3wzkjJYOGqCrAxwQ+vH7KzpQu54aCmvtt0nJY4W59q4TkCldJzcOM7cL0tA2 V4QuSBKQ==; Received: from 179.176.125.229.dynamic.adsl.gvt.net.br ([179.176.125.229] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIYzU-0005HT-Il; Mon, 22 Apr 2019 13:28:12 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIYzS-0005jd-AJ; Mon, 22 Apr 2019 10:28:10 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v2 03/79] scripts/documentation-file-ref-check: don't parse Next/ dir Date: Mon, 22 Apr 2019 10:26:52 -0300 Message-Id: <64012d057b5cf2b75192fb75ef5d2547254ccf06.1555938375.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If one tries to run this script under linux-next, it would hit lots of false-positives, due to the tree merges that are stored under the Next/ directory. So, add a logic to ignore it. Signed-off-by: Mauro Carvalho Chehab --- 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 ad9db6821824..bd7d9ab63941 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -38,6 +38,9 @@ while () { my $f = $1; my $ln = $2; + # On linux-next, discard the Next/ directory + next if ($f =~ m,^Next/,); + # Makefiles and scripts contain nasty expressions to parse docs next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/); -- 2.20.1