Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp204150pxb; Tue, 19 Oct 2021 00:44:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOITZD1bkj2AJ8ADwch1G7HUJBMza0baEbbamn3hwXYWWK0nGkEBHNVo2IfUsGPVW2AslR X-Received: by 2002:a17:90a:2a46:: with SMTP id d6mr4800335pjg.73.1634629493379; Tue, 19 Oct 2021 00:44:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634629493; cv=none; d=google.com; s=arc-20160816; b=IhuS8BQEk+ibvDDghzvOJTgnuqeZYi0RfXFoNFdVXkkmYnaJJpFMfCQzl0U3L0iwGn HBD2EqVSGv6GQqczQ7y9GL1huitdQlXArmyl/u6YJwpquChJEB2Cb5WXCT6tMiaTblUp /XZZonffuMgTNuhFLRkT9za5Fe8wyNGW8RARslVMCkeHp+ItJ74kMRnmnT0SA5LWxYud nd/UziT+IV/1Q/VWj9YXRWbWdTI27ex77bNOdlao0QQJsAEc71Uv2lz77tiObIufc67O +mbCoQslxU+t42rMatyUj6n38gMaCBsJHWqPGUPn+Ws70Ya1tBhrfHkj/DKRMTpWwHyy Womg== 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=7YkWmlP0AMBM/ZEG8de6XF1FB07sCMBeElOO4/qU9qE=; b=lbVxzqWLi5N5FhsKttvQy7EB13TsBv77OiLuwnLH8TLHTKxHFBv9VwkWI+1hOA8U5A IT0TYZVVBe8uD7II54p6w0et5G3VhkgpUosOerZyQNjDj8VLb7vK0ESv3InRnwwrK/iP x3qLolK17S9M5tKHg1gVyDKLJRzLq+j9Q71lIpUYJyg+Jj3AiWp42v4zRSQx27CfBKse kfdew3P2siEFW6G3NgmTI7MA0jw9WUKmLfZNhaHzIhKIT0bQ9DtVsl1HxNyRckbokOAf wM6ZMrrefAgOuQZhOaqvFrqKwgccTmx/wbi5cN5JEsZVY7JWwDFLKQDd71+I8yfE0rjn /oCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZAiYan56; 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 r200si24316200pgr.481.2021.10.19.00.44.30; Tue, 19 Oct 2021 00:44:53 -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=ZAiYan56; 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 S234583AbhJSHpT (ORCPT + 99 others); Tue, 19 Oct 2021 03:45:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:55850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234581AbhJSHpO (ORCPT ); Tue, 19 Oct 2021 03:45:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 385656136F; Tue, 19 Oct 2021 07:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634629382; bh=hJoet635Vy1bZq8U3J0xmPvh7E+f4HrdZFse3BcIUaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZAiYan56EhycFINj4QXIHezUk0hXKMCem+RCbBFZQB0gwQk8FLcLUWWw0CDNtiW1g jqrJVPxyn6aZBikDklBi7T7q6JCJHW41tvbaiJlso8PH3H3xHPbfRegZIYizB4gQgu nvTQd3Yv4P4rNbGMVp/pZZGUdH+eyxQrPDK82cfzfjddpgSTNthoj/MRvS8IRV/dix dHgusBY45kDfnyoIYVOdc9XTDqhrIIy4gCZ54k+73jqNREHjuBVSzEa0XLDFT6RXVB PZoe7Lnw9JHN7HklmO7w/plzsLdxl7Tg3Zz8b6kHYXk4AYR3xhdMaRBFun1ts8G3SE ljzeut4d9MIkg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mcjlt-001nLk-8V; Tue, 19 Oct 2021 08:42:53 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , John Fastabend , KP Singh , Martin KaFai Lau , Mauro Carvalho Chehab , Song Liu , Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 2/2] scripts: documentation-file-ref-check: fix bpf selftests path Date: Tue, 19 Oct 2021 08:42:51 +0100 Message-Id: <49b765cbac6ccd22d627573154806ec9389d60f0.1634629094.git.mchehab+huawei@kernel.org> 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 tools/testing/selftests/bpf/test_bpftool_synctypes.py use relative patches on the top of BPFTOOL_DIR: BPFTOOL_DIR = os.path.join(LINUX_ROOT, 'tools/bpf/bpftool') Change the script to automatically convert: testing/selftests/bpf -> bpf/bpftool In order to properly check the files used by such script. 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index 6865d8e63d5c..68083f2f1122 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -147,6 +147,7 @@ while () { if ($f =~ m/tools/) { my $path = $f; $path =~ s,(.*)/.*,$1,; + $path =~ s,testing/selftests/bpf,bpf/bpftool,; next if (grep -e, glob("$path/$ref $path/../$ref $path/$fulref")); } -- 2.31.1