Skip to content

Commit 95204c9

Browse files
bulwahnborkmann
authored andcommitted
docs, bpf: Add minimal markup to address doc warning
Commit 91c960b ("bpf: Rename BPF_XADD and prepare to encode other atomics in .imm") modified the BPF documentation, but missed some ReST markup. Hence, make htmldocs warns on Documentation/networking/filter.rst:1053: WARNING: Inline emphasis start-string without end-string. Add some minimal markup to address this warning. Fixes: 91c960b ("bpf: Rename BPF_XADD and prepare to encode other atomics in .imm") Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Brendan Jackman <jackmanb@google.com> Link: https://lore.kernel.org/bpf/20210118080004.6367-1-lukas.bulwahn@gmail.com
1 parent af6953b commit 95204c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/networking/filter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,12 +1048,12 @@ Unlike classic BPF instruction set, eBPF has generic load/store operations::
10481048
Where size is one of: BPF_B or BPF_H or BPF_W or BPF_DW.
10491049

10501050
It also includes atomic operations, which use the immediate field for extra
1051-
encoding.
1051+
encoding::
10521052

10531053
.imm = BPF_ADD, .code = BPF_ATOMIC | BPF_W | BPF_STX: lock xadd *(u32 *)(dst_reg + off16) += src_reg
10541054
.imm = BPF_ADD, .code = BPF_ATOMIC | BPF_DW | BPF_STX: lock xadd *(u64 *)(dst_reg + off16) += src_reg
10551055
1056-
The basic atomic operations supported are:
1056+
The basic atomic operations supported are::
10571057

10581058
BPF_ADD
10591059
BPF_AND

0 commit comments

Comments
 (0)