summaryrefslogtreecommitdiffstats
path: root/Documentation/bpf/llvm_reloc.rst
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2023-09-01 15:59:35 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-09-01 15:56:48 +0200
commit3888fa134eddac467b5a094949a8f0731ef6ffd5 (patch)
treeddf2a66984a65a3c1f8b8cccc13394b392d66655 /Documentation/bpf/llvm_reloc.rst
parentc1970e26bdc1209974bb5cf31cc23f2b7ad6ce50 (diff)
downloadlinux-3888fa134eddac467b5a094949a8f0731ef6ffd5.tar.gz
linux-3888fa134eddac467b5a094949a8f0731ef6ffd5.tar.bz2
linux-3888fa134eddac467b5a094949a8f0731ef6ffd5.zip
docs/bpf: Fix "file doesn't exist" warnings in {llvm_reloc,btf}.rst
scripts/documentation-file-ref-check reports warnings for (valid) cross-links of form: :ref:`Documentation/bpf/btf <BTF_Ext_Section>` Adding extension to the file name helps to avoid the warning, e.g: :ref:`Documentation/bpf/btf.rst <BTF_Ext_Section>` Fixes: be4033d36070 ("docs/bpf: Add description for CO-RE relocations") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jiri Olsa <jolsa@kernel.org> Closes: https://lore.kernel.org/oe-kbuild-all/202309010804.G3MpXo59-lkp@intel.com Link: https://lore.kernel.org/bpf/20230901125935.487972-1-eddyz87@gmail.com
Diffstat (limited to 'Documentation/bpf/llvm_reloc.rst')
-rw-r--r--Documentation/bpf/llvm_reloc.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/bpf/llvm_reloc.rst b/Documentation/bpf/llvm_reloc.rst
index 73bf805000f2..44188e219d32 100644
--- a/Documentation/bpf/llvm_reloc.rst
+++ b/Documentation/bpf/llvm_reloc.rst
@@ -250,7 +250,7 @@ CO-RE Relocations
From object file point of view CO-RE mechanism is implemented as a set
of CO-RE specific relocation records. These relocation records are not
related to ELF relocations and are encoded in .BTF.ext section.
-See :ref:`Documentation/bpf/btf <BTF_Ext_Section>` for more
+See :ref:`Documentation/bpf/btf.rst <BTF_Ext_Section>` for more
information on .BTF.ext structure.
CO-RE relocations are applied to BPF instructions to update immediate