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 265D4C6379F for ; Wed, 22 Feb 2023 10:08:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231760AbjBVKIJ (ORCPT ); Wed, 22 Feb 2023 05:08:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbjBVKIG (ORCPT ); Wed, 22 Feb 2023 05:08:06 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7A5F525B; Wed, 22 Feb 2023 02:08:02 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8BxttiB6fVjT4sDAA--.6824S3; Wed, 22 Feb 2023 18:08:01 +0800 (CST) Received: from [10.130.0.149] (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxtOV+6fVjeas4AA--.4362S3; Wed, 22 Feb 2023 18:07:58 +0800 (CST) Subject: Re: [PATCH] docs/bpf: Fix invalid link of "Documentation/bpf/btf.rst" To: Bagas Sanjaya , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Jonathan Corbet References: <1677035401-3628-1-git-send-email-yangtiezhu@loongson.cn> Cc: bpf@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org From: Tiezhu Yang Message-ID: <566b4d43-f952-8038-ec2f-988be014274f@loongson.cn> Date: Wed, 22 Feb 2023 18:06:55 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transf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42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcV C2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU1A9N7UUUUU== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22/2023 04:54 PM, Bagas Sanjaya wrote: > On Wed, Feb 22, 2023 at 11:10:01AM +0800, Tiezhu Yang wrote: >> "Documentation/bpf/btf.rst" is linked to the following invalid web page: >> >> https://www.kernel.org/doc/html/latest/bpf/btf.rst >> >> The correct link should be: >> >> https://www.kernel.org/doc/html/latest/bpf/btf.html >> >> Signed-off-by: Tiezhu Yang > > Hi, > > I have already submitted a different fix to the same problem at [1] (v2 > at [2]). Please take a look at there. Oh, I am sorry, I did not notice these patches, I found this issue when I read the bpf doc. > > [1]: https://lore.kernel.org/linux-doc/20230219030956.22662-1-bagasdotme@gmail.com/ > [2]: https://lore.kernel.org/linux-doc/20230222083530.26136-1-bagasdotme@gmail.com/ > >> diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst >> index 03d4993..f54c328 100644 >> --- a/Documentation/bpf/bpf_devel_QA.rst >> +++ b/Documentation/bpf/bpf_devel_QA.rst >> @@ -690,6 +690,7 @@ when: >> 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 >> -.. _Documentation/bpf/btf.rst: btf.rst >> +.. _Documentation/bpf/btf.rst: >> + https://www.kernel.org/doc/html/latest/bpf/btf.html >> >> Happy BPF hacking! > > For consistency with my fix above, can you please convert these in-tree links > from using external link to simply write the doc path instead? > > Thanks. > Please ignore my patch, you can go on to modify your changes. Please let me know if there is anything I need to do. Thanks, Tiezhu