bpf, docs: Fix typos in instructions-set.rst
Subsystems (3)
PATCH 1/1 bpf, docs: Fix typos in instructions-set.rst
* "imm32" should just be "imm"
* Add blank line to fix formatting error reported by Stephen Rothwell [0]
[0]: https://lore.kernel.org/bpf/[email protected]/T/#u
--- Documentation/bpf/standardization/instruction-set.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/bpf/standardization/instruction-set.rst +4 -3
@@ -117,6 +117,7 @@ corresponds to a set of instructions that are mandatory. That is, each instruction has one or more conformance groups of which it is a member. This document defines the following conformance groups: + * base32: includes all instructions defined in this specification unless otherwise noted. * base64: includes base32, plus instructions explicitly noted
@@ -289,11 +290,11 @@ where '(u32)' indicates that the upper 32 bits are zeroed. ``BPF_XOR | BPF_K | BPF_ALU`` means:: - dst = (u32) dst ^ (u32) imm32 + dst = (u32) dst ^ (u32) imm ``BPF_XOR | BPF_K | BPF_ALU64`` means:: - dst = dst ^ imm32 + dst = dst ^ imm Note that most instructions have instruction offset of 0. Only three instructions (``BPF_SDIV``, ``BPF_SMOD``, ``BPF_MOVSX``) have a non-zero offset.
@@ -511,7 +512,7 @@ instructions that transfer data between a register and memory. ``BPF_MEM | <size> | BPF_ST`` means:: - *(size *) (dst + offset) = imm32 + *(size *) (dst + offset) = imm ``BPF_MEM | <size> | BPF_LDX`` means::
Signature · 1 line
2.40.1
Quoted 6 lines · Dave Thaler
* "imm32" should just be "imm"
* Add blank line to fix formatting error reported by Stephen Rothwell [0][0]: https://lore.kernel.org/bpf/[email protected]/T/#u
Signed-off-by Dave Thaler <[email protected]>
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 8 lines · On Mon, 5 Feb 2024 20:51:46 -0800 you wrote:
* "imm32" should just be "imm"
* Add blank line to fix formatting error reported by Stephen Rothwell [0][0]: https://lore.kernel.org/bpf/[email protected]/T/#u
Signed-off-by Dave Thaler <[email protected]>[...]
Here is the summary with links:
- [bpf-next] bpf, docs: Fix typos in instructions-set.rst
https://git.kernel.org/bpf/bpf-next/c/563918a0e3af
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html