Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp524636pjc; Mon, 20 May 2019 11:14:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI1XiHI8x6CCkGPY2W1MKbmhxRIyo8qL+3d+4wZ4N7jzSvrWHrGFFhEu/xm7AyppK4C9ad X-Received: by 2002:aa7:8157:: with SMTP id d23mr54791590pfn.92.1558376054747; Mon, 20 May 2019 11:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558376054; cv=none; d=google.com; s=arc-20160816; b=bRZeUzNMoZOUKvqJ7Snj1m4XxsI8/WohhId1dEqWkX2SBqXuqHOX76PjGhA+vb15PG 7uJO6XZ8ouIdiHYhD0a/yZDKA4WXZfYL/ZAblW6PyLlJFnP5HBn2hnQeT3W4vJMdjeQp TuRiPDrZd0VAihripKCN6NUrc7xeZQxLDAsk6BnumB3onVFLLbGEJkP7528LyF7W0/V3 7QuLJbdshD6UGPez+URmH4jw+RZy1ctm/7x+LWW2D0eWiJ1wHyAjhTYNE3/OR13ZDwz2 edO3Qgs+dKMofqsbS3PrmsuOL1C51rmAJYi/o+fIMhpFaGRey05R0lpZdx0KejwXDoEw PScw== 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=t7V/jAIyRWeGVCJDZeH1LhdUcZQK43LHg68xT8DRQOM=; b=LHIRKKQVI066T49nn1jr40smD0UBd3OeTfgLmHzF7yMhPhC0tYsRh86gaaQM8opwMH 7V9S7HAQtd2ma/TImuUBgK4OKb669Qq6ogdYVQm5JpKjtjIAMowA504zlldW9LHGkwlX XQ5PxA9lPYy3J1VPglP7Sx0+/3bIhfcYXrAk2NtRDLztBrPXqWLZYumjOhlHjeDt0XIj WII+qSotzWVnlxxvbLjA0hiBLDkD72y0QrxOaI97b1p8V82ugE+YNnPxlZG5tUwWoByU A9YPC7lUZNh/lFO9f80rSdgla6/gwPjM92SEjojCcyX9U5vSusCW+qtE1RYnUJfxeAwT AnKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=LmVRQ3gz; 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 q14si17538497pls.327.2019.05.20.11.13.59; Mon, 20 May 2019 11:14:14 -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=LmVRQ3gz; 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 S2387604AbfETOsE (ORCPT + 99 others); Mon, 20 May 2019 10:48:04 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34542 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388786AbfETOsB (ORCPT ); Mon, 20 May 2019 10:48:01 -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=t7V/jAIyRWeGVCJDZeH1LhdUcZQK43LHg68xT8DRQOM=; b=LmVRQ3gzj8VtszQFIgX67ROzsl 6/iqi/nAxzLJFkuTvQx+5veHrB3XqNeUdUcJoUZ0s8/r+mZwDbz+3hGnmxQDUxv7PS+OXYTb8thTs bKly2jX/THGWlIGrkYIWjBcNDRJgLM0pTBnY6JxqoxYp1UEhtRUBSso4f/5CxyIdIs1y+37saY7xk fF9lHbelfjtF9BTGq3kT2fGJ/yNY+VMXP5qvWL1Ig/3qvD0TKljWbcT6LqSJKIPD8JhBqZhSvd430 VTvaShLjgwnPjrQp9qj1fs1kPjZVf6w4jZkC2wLj97R+GswRdv+HUWjQrtliCUmfSvyvi7iy+IjSy Hj/IIAbQ==; Received: from [179.176.119.151] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSja3-0000E4-Rv; Mon, 20 May 2019 14:47:59 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hSjZq-00010m-5v; Mon, 20 May 2019 11:47:46 -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 03/10] scripts/documentation-file-ref-check: improve tools ref handling Date: Mon, 20 May 2019 11:47:32 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 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 There's a false positive on perf/util: tools/perf/util/s390-cpumsf.c: Documentation/perf.data-file-format.txt The file is there at tools/perf/Documentation/, but the logic with detects relative documentation references inside tools is not capable of detecting it. So, improve it. Signed-off-by: Mauro Carvalho Chehab --- scripts/documentation-file-ref-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 05235775cc71..5d775ca7469b 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -127,7 +127,7 @@ while () { if ($f =~ m/tools/) { my $path = $f; $path =~ s,(.*)/.*,$1,; - next if (grep -e, glob("$path/$ref $path/$fulref")); + next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref")); } # Discard known false-positives -- 2.21.0