[PATCH] Documentation: bpf: Fix link to BTF doc
From: Bagas Sanjaya
Date: Sat Feb 18 2023 - 22:10:21 EST
Ross reported broken link to BTF documentation
(Documentation/bpf/btf.rst) in Documentation/bpf/bpf_devel_QA.rst. The
link in question is written using external link syntax, which behaves
badly when the link target is sibling doc.
Fix the link by replacing external link syntax with simply writing out
the target doc.
Link: https://lore.kernel.org/linux-doc/Y++09LKx25dtR4Ow@xxxxxxxxxx/
Fixes: 6736aa793c2b5f ("selftests/bpf: Add general instructions for test execution")
Reported-by: Ross Zwisler <zwisler@xxxxxxxxxx>
Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
---
Documentation/bpf/bpf_devel_QA.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/bpf/bpf_devel_QA.rst b/Documentation/bpf/bpf_devel_QA.rst
index 03d4993eda6f05..a4c1634d18955d 100644
--- a/Documentation/bpf/bpf_devel_QA.rst
+++ b/Documentation/bpf/bpf_devel_QA.rst
@@ -469,7 +469,7 @@ under test should match the config file fragment in
tools/testing/selftests/bpf as closely as possible.
Finally to ensure support for latest BPF Type Format features -
-discussed in `Documentation/bpf/btf.rst`_ - pahole version 1.16
+discussed in Documentation/bpf/btf.rst - pahole version 1.16
is required for kernels built with CONFIG_DEBUG_INFO_BTF=y.
pahole is delivered in the dwarves package or can be built
from source at
base-commit: 168de0233586fb06c5c5c56304aa9a928a09b0ba
--
An old man doll... just what I always wanted! - Clara