Skip to contentSkip to conversation

bpf, docs: fix the code formatting in instruction-set

PATCH Applied Shahab Vahedi 2 participants 2 messages Jun 24, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf, docs: fix the code formatting in instruction-set

A minor typo fix to include "| BPF_LD" into its previous code phrase:

``BPF_IND`` | BPF_LD --> ``BPF_IND | BPF_LD``

---
 Documentation/bpf/instruction-set.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/bpf/instruction-set.rst +1 -1
index 9e27fbdb2206..1b0e6711dec9 100644
@@ -351,7 +351,7 @@ These instructions have seven implicit operands:
  * Register R0 is an implicit output which contains the data fetched from
    the packet.
  * Registers R1-R5 are scratch registers that are clobbered after a call to
-   ``BPF_ABS | BPF_LD`` or ``BPF_IND`` | BPF_LD instructions.
+   ``BPF_ABS | BPF_LD`` or ``BPF_IND | BPF_LD`` instructions.
 
 These instructions have an implicit program exit condition as well. When an
 eBPF program is trying to access the data beyond the packet boundary, the
Signature · 1 line
2.30.2
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:

Quoted 8 lines · On Fri, 24 Jun 2022 14:14:11 +0000 you wrote:

A minor typo fix to include "| BPF_LD" into its previous code phrase:

``BPF_IND`` | BPF_LD --> ``BPF_IND | BPF_LD``

[...]

Here is the summary with links:
- bpf, docs: fix the code formatting in instruction-set

    https://git.kernel.org/bpf/bpf-next/c/2f6d1e0f8ff3

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html