All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst
@ 2022-04-28  9:55 Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 1/3] bpf, docs: Remove duplicated word "instructions" Tiezhu Yang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tiezhu Yang @ 2022-04-28  9:55 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Jonathan Corbet
  Cc: netdev, bpf, linux-doc, linux-kernel

v2:
  -- update the commit message of patch #2
  -- add new patch #3

Tiezhu Yang (3):
  bpf, docs: Remove duplicated word "instructions"
  bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
  bpf, docs: Fix typo "respetively" to "respectively"

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

-- 
2.1.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH bpf-next v2 1/3] bpf, docs: Remove duplicated word "instructions"
  2022-04-28  9:55 [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst Tiezhu Yang
@ 2022-04-28  9:55 ` Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 2/3] bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE Tiezhu Yang
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Tiezhu Yang @ 2022-04-28  9:55 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Jonathan Corbet
  Cc: netdev, bpf, linux-doc, linux-kernel

The word "instructions" is duplicated, remove it.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH bpf-next v2 2/3] bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
  2022-04-28  9:55 [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 1/3] bpf, docs: Remove duplicated word "instructions" Tiezhu Yang
@ 2022-04-28  9:55 ` Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 3/3] bpf, docs: Fix typo "respetively" to "respectively" Tiezhu Yang
  2022-04-28 15:30 ` [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: Tiezhu Yang @ 2022-04-28  9:55 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Jonathan Corbet
  Cc: netdev, bpf, linux-doc, linux-kernel

According to include/uapi/linux/bpf.h:

  #define BPF_FROM_LE	BPF_TO_LE
  #define BPF_FROM_BE	BPF_TO_BE

BPF_FROM_BE exists as alias for BPF_TO_BE instead of BPF_TO_LE.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 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 30b019c..00b0800 100644
--- a/Documentation/bpf/instruction-set.rst
+++ b/Documentation/bpf/instruction-set.rst
@@ -157,7 +157,7 @@ Examples:
   dst_reg = htobe64(dst_reg)
 
 ``BPF_FROM_LE`` and ``BPF_FROM_BE`` exist as aliases for ``BPF_TO_LE`` and
-``BPF_TO_LE`` respetively.
+``BPF_TO_BE`` respetively.
 
 
 Jump instructions
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH bpf-next v2 3/3] bpf, docs: Fix typo "respetively" to "respectively"
  2022-04-28  9:55 [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 1/3] bpf, docs: Remove duplicated word "instructions" Tiezhu Yang
  2022-04-28  9:55 ` [PATCH bpf-next v2 2/3] bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE Tiezhu Yang
@ 2022-04-28  9:55 ` Tiezhu Yang
  2022-04-28 15:30 ` [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: Tiezhu Yang @ 2022-04-28  9:55 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Jonathan Corbet
  Cc: netdev, bpf, linux-doc, linux-kernel

"respetively" should be "respectively".

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
 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 00b0800..1de6a57 100644
--- a/Documentation/bpf/instruction-set.rst
+++ b/Documentation/bpf/instruction-set.rst
@@ -157,7 +157,7 @@ Examples:
   dst_reg = htobe64(dst_reg)
 
 ``BPF_FROM_LE`` and ``BPF_FROM_BE`` exist as aliases for ``BPF_TO_LE`` and
-``BPF_TO_BE`` respetively.
+``BPF_TO_BE`` respectively.
 
 
 Jump instructions
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst
  2022-04-28  9:55 [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst Tiezhu Yang
                   ` (2 preceding siblings ...)
  2022-04-28  9:55 ` [PATCH bpf-next v2 3/3] bpf, docs: Fix typo "respetively" to "respectively" Tiezhu Yang
@ 2022-04-28 15:30 ` patchwork-bot+netdevbpf
  3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-04-28 15:30 UTC (permalink / raw)
  To: Tiezhu Yang
  Cc: ast, daniel, andrii, corbet, netdev, bpf, linux-doc, linux-kernel

Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Thu, 28 Apr 2022 17:55:51 +0800 you wrote:
> v2:
>   -- update the commit message of patch #2
>   -- add new patch #3
> 
> Tiezhu Yang (3):
>   bpf, docs: Remove duplicated word "instructions"
>   bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
>   bpf, docs: Fix typo "respetively" to "respectively"
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/3] bpf, docs: Remove duplicated word "instructions"
    https://git.kernel.org/bpf/bpf-next/c/67b97e584232
  - [bpf-next,v2,2/3] bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE
    https://git.kernel.org/bpf/bpf-next/c/c821d80bb890
  - [bpf-next,v2,3/3] bpf, docs: Fix typo "respetively" to "respectively"
    https://git.kernel.org/bpf/bpf-next/c/9a9a90ca1327

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-28 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28  9:55 [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst Tiezhu Yang
2022-04-28  9:55 ` [PATCH bpf-next v2 1/3] bpf, docs: Remove duplicated word "instructions" Tiezhu Yang
2022-04-28  9:55 ` [PATCH bpf-next v2 2/3] bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BE Tiezhu Yang
2022-04-28  9:55 ` [PATCH bpf-next v2 3/3] bpf, docs: Fix typo "respetively" to "respectively" Tiezhu Yang
2022-04-28 15:30 ` [PATCH bpf-next v2 0/3] bpf, docs: Fix typos in instruction-set.rst patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.