From patchwork Tue Feb 28 07:45:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 62317 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2877711wrd; Mon, 27 Feb 2023 23:58:04 -0800 (PST) X-Google-Smtp-Source: AK7set+8kdzCmRgoXbm34A7e2CO3nboOeExHc1wS1/RBsrgM+C0+H5cVbmQRz+TWMv8JztQ++wrK X-Received: by 2002:aa7:9acc:0:b0:600:cc40:258c with SMTP id x12-20020aa79acc000000b00600cc40258cmr1594009pfp.10.1677571083924; Mon, 27 Feb 2023 23:58:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677571083; cv=none; d=google.com; s=arc-20160816; b=Micg4PJndjJvOuMomajJAYQ/DujCBvjsNHR3qd6w0rrXky3MznkJT9cnSDPNgVEXzC ZT4c3WBEZZS1h+Fz0bOslxstKY7G/QjfqH3tnJ5/x1jBAFwzpiUiG3pH/JRQC6woIsoz pNFc01FxkmgXHnCOYd/TGzuPTSFOXpJ7zsWOr5n17hMkvXlIp21nRQH8Ufe+d8wWPnca IX0m8HN1U1I53mJ0sfnpw9QCYXGfAFngoX7fiwwEpcVQ2a4VklLV82B6YewmscLDGDKm /LhU+Ugf0SQanhUvyv+qdVT+wYcgfqUoArXgN6NWROxJDhDim+jTspGBEhYBHow7bIjG EuKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GHy6ab7agGyazZ8+IkAKFCiyzz2TR79Tj1aCMW8RwZ4=; b=MWS/D9y8IodUImsLIelCqIFfQXSX0i6H7sOaJc84nFAmavomeSCVDJt5u2+yJD8bmD zHqfsVOKSKsobwmvECRi0LyGyfof0LvhFzLcqTOvyE7ncqEIOuaFSOauH/c2CMgZYI6H 6n8YA517kukkPeqGViJgCjb/fGxMqja9ttC4J05KaVGkUmYju/yPrvEo29t+q42HQ6RT o0Wi8Q1LmftRTmcpOUKsV/T+W/GduHJfEZ7FJEqPcDuFEX8eQm3R+SCYAdphrznTUvMd cJjYSNU2Nu7YJ5l2KLLEWjqRefwVNu93SKrHEZm2+YYKS00fsuTTr0oboGBOLmYBT5Q6 4NkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fkzvyPvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13-20020a63030d000000b00500633a3622si9610657pgd.219.2023.02.27.23.57.50; Mon, 27 Feb 2023 23:58:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fkzvyPvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbjB1Hpf (ORCPT + 99 others); Tue, 28 Feb 2023 02:45:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjB1Hpd (ORCPT ); Tue, 28 Feb 2023 02:45:33 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9DD51EBFD; Mon, 27 Feb 2023 23:45:30 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id ky4so9531486plb.3; Mon, 27 Feb 2023 23:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677570330; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GHy6ab7agGyazZ8+IkAKFCiyzz2TR79Tj1aCMW8RwZ4=; b=fkzvyPvOHz0gnamBcxDCmV+b18IalVtgGEInyXc4m4qVedBXqvGEPoERYo0QPEOW8o dV5If1SuoXkPThIxxZjLp9c0Sc72lH3wakUn7gAey9rnEmjbxv4ErIRYX8cjujyXbz6M DIPmgUWP4aPa0Co+XGi9ZO2E7inAW2y88lWb82nwY0SldwGdKBZTX2CQgQj93BcRvG8R wY2Tdj4fQ13aGowWvrJ6ptSIbX37gPUO3Z8to/n0mf7Mmmh1HJi3Qiyxoms7ZeCz5t7K YIcMxSJfKntbPCfBRKCzA1RwChBlsBxiMClKZ7Wf+jWx/8SjZwXEeQ6gdiykW3dwUp+n eYEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677570330; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GHy6ab7agGyazZ8+IkAKFCiyzz2TR79Tj1aCMW8RwZ4=; b=IJjLgmgz41ZVNxW1WDeciM/IpRk6MaKAcv2PoodatoeakeY5FwI1usEiBXaKocK59W FBGF1Ogi7y2Pgu2Sd7NndP/UNd6JUdCgnI4/GXKxdHpaecUga4CzXx/N4HNK4fOxIz2y migsz2NBsDuIAv3JCm44VIoz1ruMFiP+w27bnrbWAK8ul4ZeIHHhbUosZsM5CkseS4Jq j3RVM344XY+RVJ1YBc30X2wNoTnW8JQYvnpSNVWDb+H+JFM5LnY07Sf+ek5i+azm7Wfp won3X6qy1Gjmio7mqsWuMUyBkYFP8zduxpJ0uEU4vd4eq1nndh2GZ4KyZbHa0n5rwhto HijQ== X-Gm-Message-State: AO0yUKVlCXSDwlZ3hec6JmgV/c1qYCyU8gCH/xrezalGfoLyEFX9bznS amJJF3IObaLf8/uHTvtKgN8= X-Received: by 2002:a17:902:ce8f:b0:19a:9434:af30 with SMTP id f15-20020a170902ce8f00b0019a9434af30mr2363001plg.18.1677570330349; Mon, 27 Feb 2023 23:45:30 -0800 (PST) Received: from debian.me (subs02-180-214-232-86.three.co.id. [180.214.232.86]) by smtp.gmail.com with ESMTPSA id jn9-20020a170903050900b0019cc3d0e1basm5873829plb.112.2023.02.27.23.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 23:45:29 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 5AD5A106575; Tue, 28 Feb 2023 14:45:25 +0700 (WIB) From: Bagas Sanjaya To: Linux BPF , Linux Documentation , Linux Kernel Mailing List Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Jonathan Corbet , Jesper Dangaard Brouer , Bagas Sanjaya Subject: [PATCH 1/2] Documentation: bpf: Do not link to docs.kernel.org for kselftest link Date: Tue, 28 Feb 2023 14:45:22 +0700 Message-Id: <20230228074523.11493-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230228074523.11493-1-bagasdotme@gmail.com> References: <20230228074523.11493-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1604; i=bagasdotme@gmail.com; h=from:subject; bh=yWxliHf0f0vpYKAwhnAwEeu8mJhvpwvbMoeq0P63UQA=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMl/Nwotn5u7fZEe85mOhrz94TrGiikmzywvPG8887yivnme et39jlIWBjEuBlkxRZZJiXxNp3cZiVxoX+sIM4eVCWQIAxenAEykJ5GR4SafXavTKbPlt9fY5qjM3v yw832v+t15t10reb9kHw/n9Wf4X5r2w/2mxLd8H8WCN8WreqZ/rfu+6bHastkdmX0nOau+cAAA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759060777024181405?= X-GMAIL-MSGID: =?utf-8?q?1759060777024181405?= The question on how to run BPF selftests have a reference link to kernel selftest documentation (Documentation/dev-tools/kselftest.rst). However, it uses external link to the documentation at kernel.org/docs (aka docs.kernel.org) instead, which requires Internet access. Replace the link with internal linking, by using :doc: directive while keeping the anchor text. Fixes: b7a27c3aafa252 ("bpf, doc: howto use/run the BPF selftests") Signed-off-by: Bagas Sanjaya --- Documentation/bpf/bpf_devel_QA.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst index 715f7321020f27..eb087c599ffa44 100644 --- a/Documentation/bpf/bpf_devel_QA.rst +++ b/Documentation/bpf/bpf_devel_QA.rst @@ -461,8 +461,8 @@ needed:: $ sudo make run_tests -See the kernels selftest `Documentation/dev-tools/kselftest.rst`_ -document for further documentation. +See :doc:`kernel selftest documentation ` +for details. To maximize the number of tests passing, the .config of the kernel under test should match the config file fragment in @@ -688,7 +688,5 @@ when: .. _netdev-FAQ: Documentation/process/maintainer-netdev.rst .. _selftests: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/ -.. _Documentation/dev-tools/kselftest.rst: - https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html Happy BPF hacking!