Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2320362yba; Mon, 22 Apr 2019 04:46:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxh0oz7A6OHqAGBqGwqrVUD+aNlxY8cAM+Rc/bxSVLXUu4d8aDBIBbVX1s4gKMaE7MhinL9 X-Received: by 2002:a63:b811:: with SMTP id p17mr17730997pge.219.1555933579709; Mon, 22 Apr 2019 04:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555933579; cv=none; d=google.com; s=arc-20160816; b=y4aqRMTSvr3erPrx57F7vH2WGjc8tCqB90f5sYvEfO0QkxldYD9OYf++sDORg6IrFK tpJKc9smh2TlU9yY9SSmLji4fDSGC6CxEe5WQuQoApDIJSh9JGt5Il5zgdb/muDq3crf G3YLu4Pe1xMWSRX2BHV9WL02ll2u1O+VJjvtcOhjg0+ocvA2pOZyLZrqoRqrGA+5dGJH um1jXO49rbBwhtktqHpab3w/fdKAxBLIGA15KumJGiXlQUtCegrrnk2ThIBwf1OS41tK Jp+uNcPVfteEv6RKSZxZiANSvc6UVf2SMnk/NXjRIErg6z8w5BvQQpZoVk3c8H1mzaJz 9s4w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LknHlP8O80qHE1WCh8WxWrtnHyrgma3TZ5Je3ultqgs=; b=EnLqCkD493P9gNh8880oFIe3aKjQsvft73djcYxsvtBYsxUxesAtVbJtcvhygydmEQ mcWNrYi5H3ibwD/SVVdGUUgcbQDUisPv9o4NI+NS6GHO1TdeRPTrl3jdrVYJ08eNK0/N VF0WZQj6DcgKTiZNyHJCLiuc/+oZPjjf1HZI4lWiyDaWY035kd6Z3VM4FToMiK7ZvYYu WuRDUjQfkqE7Ou24j3LMyyDPbdJqpmEnFAHAewFQRn77gsAWMxr8kkiTAfJMF4+EmuFW /ZyR3oul3yEAziJLuk8F8QAvEgwsCEk33k9ODfzwmSUr1FSNDp98PD7zOhs++dafRNP7 bqwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="pDvh4u/O"; 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 z3si12880777pfa.239.2019.04.22.04.46.02; Mon, 22 Apr 2019 04:46:19 -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="pDvh4u/O"; 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 S1727010AbfDVLmJ (ORCPT + 99 others); Mon, 22 Apr 2019 07:42:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46090 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfDVLmJ (ORCPT ); Mon, 22 Apr 2019 07:42:09 -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: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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LknHlP8O80qHE1WCh8WxWrtnHyrgma3TZ5Je3ultqgs=; b=pDvh4u/O7i4+NwNFuZ1LZCFRs mf+6H82LhfdvkjYN7Cv9l09TUrhGiS1Vp3vZGQ7lMNSDJFqvUruzwl/3fhT8ogd5W2MxEKqIp5NfU zeDfOdBL5dgcNVTXpSQeRZsNmvfp5ZY9HtTbuBKRT9Sj5RDD0uEjwLzG2j6zySwQhkcUsJDt4+ZUl P+5K4ydO/7sAo5oOBft7YRJHLTG3N0xELOt+KzivZ0fiTE8btUoa5wZE94swBOz+c7eMeltnFYgHZ qJWMqBEdp19cNAb6GkadcaNZcFeExArr/we78ByknBykV0WddnS1tJKKUd0kGpBFOmTwK2XYFvVVW EJo7yXyDw==; 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 1hIXKr-0001mv-1M; Mon, 22 Apr 2019 11:42:09 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIXKm-0005jg-LC; Mon, 22 Apr 2019 08:42:04 -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] scripts/documentation-file-ref-check: don't parse Next/ dir Date: Mon, 22 Apr 2019 08:42:02 -0300 Message-Id: <64012d057b5cf2b75192fb75ef5d2547254ccf06.1555933320.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 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