Skip to content

Commit 32db18d

Browse files
bagasmeborkmann
authored andcommitted
bpf, doc: Do not link to docs.kernel.org for kselftest link
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. Fix this and replace the link with internal linking, by using :doc: directive while keeping the anchor text. Fixes: b7a27c3 ("bpf, doc: howto use/run the BPF selftests") Signed-off-by: Bagas Sanjaya <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent d900f3d commit 32db18d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Documentation/bpf/bpf_devel_QA.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ needed::
461461

462462
$ sudo make run_tests
463463

464-
See the kernels selftest `Documentation/dev-tools/kselftest.rst`_
465-
document for further documentation.
464+
See :doc:`kernel selftest documentation </dev-tools/kselftest>`
465+
for details.
466466

467467
To maximize the number of tests passing, the .config of the kernel
468468
under test should match the config file fragment in
@@ -688,7 +688,5 @@ when:
688688
.. _netdev-FAQ: Documentation/process/maintainer-netdev.rst
689689
.. _selftests:
690690
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/selftests/bpf/
691-
.. _Documentation/dev-tools/kselftest.rst:
692-
https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html
693691

694692
Happy BPF hacking!

0 commit comments

Comments
 (0)