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: 13154493 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4749DC7EE31 for ; Tue, 28 Feb 2023 07:45:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229944AbjB1Hpe (ORCPT ); Tue, 28 Feb 2023 02:45:34 -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-Google-Smtp-Source: AK7set8vVDbK/53GDNTnafGGAjtyPe5GuRyKPuh0gmf4Rr7HNx+GUlD0cjgQCT+szwQwTpNBRVgFFQ== 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 Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net 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! From patchwork Tue Feb 28 07:45:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 13154495 X-Patchwork-Delegate: bpf@iogearbox.net Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC580C7EE32 for ; Tue, 28 Feb 2023 07:45:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230267AbjB1Hpf (ORCPT ); Tue, 28 Feb 2023 02:45:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbjB1Hpd (ORCPT ); Tue, 28 Feb 2023 02:45:33 -0500 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 820801F935; Mon, 27 Feb 2023 23:45:31 -0800 (PST) Received: by mail-pg1-x533.google.com with SMTP id d6so5087137pgu.2; Mon, 27 Feb 2023 23:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677570331; 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=3X4A374173liV0Jwi7eRhhAaRAJc6AZ4uOSSuqD7v9o=; b=W+5H/OBP7GqSVHDCsUvVXdJzGjc25TkVv2Qns5BYwweBmhGcHLD+RAS+xQHbQzPnyP QnWPL3Jymz4BRMmZH48/Zb5qmtGioQJl24BNhRRN73m/qmGklxMPySOOrN/ZXsMccMV/ 20R/JCGaS4rvPjkRKaxBc5z8f6a57/6vt1u/Yocm6BbJzKrX/zeO7g+VoZYNzthrjikG 2oSMOwMepiGXBLvbTJJzY64vNZw4gU7uTsXGLaaHQWhGkimjEd4PJKAubLbDdhGwHTtD WzcY3uQmUu2WfYrwIOEzSIy2BnoEibcGqjZfsI5X1JBBxS/ZItGeWdu/nOPURec0Y8Ds rk6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677570331; 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=3X4A374173liV0Jwi7eRhhAaRAJc6AZ4uOSSuqD7v9o=; b=e8INk7NdcVac5GUyllVyqkz8cthLNPZRNDTcFhnJcy/odwRnc7Lg0AIop7Usi3cMci D311UtxVDiF5gcp/D8eVPPd/dUKqYmUwlNL63fqsXu3kn4Jw0EtXgp8r9B3MMNIcnvq6 fkl5qyxV59rEhyDE9lYXkrpDOcJkJGgD+ZRFWvhKyMRDjwjN3NZcjCfFX2nJj1Xfbgkf YwrRtsv9sWCCq6fqt6fmOGiEbuk5o+S7RCw1glOi9RmPvUK22XVPUTFsS+D+ERikfoic joAWOTDzXAJc0DgrS/nTz2E/7T+3oa6ExlswH4Dx/WutFMJRZHTNuhqUmbY9kKLiNkf1 pK2A== X-Gm-Message-State: AO0yUKUG1I1H/4W9WczVdgw/5zhMBZwmZLnFIv0QDWj3qmGo6S4iqApf W1G+7KS3FCHBuDK64hdzwuM= X-Google-Smtp-Source: AK7set+EAXMD6pz/o9Jph9/dTg7zWzoEx0ronYJSUw/OlVeCPXRPh54DYxCrlLKh8gIUrgibDDTpWQ== X-Received: by 2002:a62:7b8e:0:b0:5a8:d364:62ab with SMTP id w136-20020a627b8e000000b005a8d36462abmr1519644pfc.17.1677570331004; Mon, 27 Feb 2023 23:45:31 -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 y18-20020aa78052000000b005a8aab9ae7esm5387564pfm.216.2023.02.27.23.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 23:45:30 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 2F588103270; 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 2/2] Documentation: bpf: Link to submitting-patches.rst for general patch submission info Date: Tue, 28 Feb 2023 14:45:23 +0700 Message-Id: <20230228074523.11493-3-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=1551; i=bagasdotme@gmail.com; h=from:subject; bh=uHff/L6LJr5vN+l1BAcktM1K58t0ZJTIygdTYpnqMJc=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMl/NwqlFCy55ZJRPeE0+/LA/TIKE926/SN/XdK+7/yfrYj1 5J3PHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZjIvyxGhpNOK240z6t5E58cIGbjXb XTylYq7dER586Yqen13e6r3jP8D19h9vPPndZblb5tLg6zrQP23q6yXn+EJeqEF6P70l4JRgA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net The link for patch submission information in general refers to index page for "Working with the kernel development community" section of kernel docs, whereas the link should have been Documentation/process/submitting-patches.rst instead. Replace the index target with appropriate doc. Fixes: 542228384888f5 ("bpf, doc: convert bpf_devel_QA.rst to use RST formatting") Signed-off-by: Bagas Sanjaya --- Documentation/bpf/bpf_devel_QA.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst index eb087c599ffa44..b421d94dc9f216 100644 --- a/Documentation/bpf/bpf_devel_QA.rst +++ b/Documentation/bpf/bpf_devel_QA.rst @@ -7,8 +7,8 @@ workflows related to reporting bugs, submitting patches, and queueing patches for stable kernels. For general information about submitting patches, please refer to -`Documentation/process/`_. This document only describes additional specifics -related to BPF. +Documentation/process/submitting-patches.rst. This document only describes +additional specifics related to BPF. .. contents:: :local: @@ -684,7 +684,6 @@ when: .. Links -.. _Documentation/process/: https://www.kernel.org/doc/html/latest/process/ .. _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/