2022-04-28 20:02:49

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH bpf-next RESEND 0/2] bpf, docs: Fix typos in instruction-set.rst

Forget to add [PATCH bpf-next] subject prefix,
sorry for that, just resend.

Tiezhu Yang (2):
bpf, docs: Remove duplicated word "instructions"
bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE

Documentation/bpf/instruction-set.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--
2.1.0


2022-04-29 09:33:37

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH bpf-next RESEND 1/2] bpf, docs: Remove duplicated word "instructions"

The word "instructions" is duplicated, remove it.

Signed-off-by: Tiezhu Yang <[email protected]>
---
Documentation/bpf/instruction-set.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/bpf/instruction-set.rst b/Documentation/bpf/instruction-set.rst
index 5300837..30b019c 100644
--- a/Documentation/bpf/instruction-set.rst
+++ b/Documentation/bpf/instruction-set.rst
@@ -130,7 +130,7 @@ Byte swap instructions
The byte swap instructions use an instruction class of ``BFP_ALU`` and a 4-bit
code field of ``BPF_END``.

-The byte swap instructions instructions operate on the destination register
+The byte swap instructions operate on the destination register
only and do not use a separate source register or immediate value.

The 1-bit source operand field in the opcode is used to to select what byte
--
2.1.0