Re: [PATCH] docs/bpf: Fix invalid link of "Documentation/bpf/btf.rst"

From: Bagas Sanjaya
Date: Wed Feb 22 2023 - 03:54:21 EST


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 <yangtiezhu@xxxxxxxxxxx>

Hi,

I have already submitted a different fix to the same problem at [1] (v2
at [2]). Please take a look at there.

[1]: https://lore.kernel.org/linux-doc/20230219030956.22662-1-bagasdotme@xxxxxxxxx/
[2]: https://lore.kernel.org/linux-doc/20230222083530.26136-1-bagasdotme@xxxxxxxxx/

> 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.

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature