BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation
@ 2024-05-26  6:18 Dave Thaler
  2024-05-26  6:18 ` [Bpf] " Dave Thaler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dave Thaler @ 2024-05-26  6:18 UTC (permalink / raw)
  To: bpf; +Cc: bpf, Dave Thaler

The table captions patch corrected indented most tables to work with
the table directive for adding a caption but missed two of them.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
---
 .../bpf/standardization/instruction-set.rst   | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
index 08f614b10..8d1981050 100644
--- a/Documentation/bpf/standardization/instruction-set.rst
+++ b/Documentation/bpf/standardization/instruction-set.rst
@@ -296,12 +296,12 @@ For arithmetic and jump instructions (``ALU``, ``ALU64``, ``JMP`` and
 
   .. table:: Source operand location
 
-  ======  =====  ==============================================
-  source  value  description
-  ======  =====  ==============================================
-  K       0      use 32-bit 'imm' value as source operand
-  X       1      use 'src_reg' register value as source operand
-  ======  =====  ==============================================
+    ======  =====  ==============================================
+    source  value  description
+    ======  =====  ==============================================
+    K       0      use 32-bit 'imm' value as source operand
+    X       1      use 'src_reg' register value as source operand
+    ======  =====  ==============================================
 
 **instruction class**
   the instruction class (see `Instruction classes`_)
@@ -681,13 +681,13 @@ two complex atomic operations:
 
 .. table:: Complex atomic operations
 
-===========  ================  ===========================
-imm          value             description
-===========  ================  ===========================
-FETCH        0x01              modifier: return old value
-XCHG         0xe0 | FETCH      atomic exchange
-CMPXCHG      0xf0 | FETCH      atomic compare and exchange
-===========  ================  ===========================
+  ===========  ================  ===========================
+  imm          value             description
+  ===========  ================  ===========================
+  FETCH        0x01              modifier: return old value
+  XCHG         0xe0 | FETCH      atomic exchange
+  CMPXCHG      0xf0 | FETCH      atomic compare and exchange
+  ===========  ================  ===========================
 
 The ``FETCH`` modifier is optional for simple atomic operations, and
 always set for the complex atomic operations.  If the ``FETCH`` flag
-- 
2.40.1


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

* [Bpf] [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation
  2024-05-26  6:18 [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation Dave Thaler
@ 2024-05-26  6:18 ` Dave Thaler
  2024-05-26  9:04 ` Christoph Hellwig
  2024-05-26 17:00 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Thaler @ 2024-05-26  6:18 UTC (permalink / raw)
  To: bpf; +Cc: bpf, Dave Thaler

The table captions patch corrected indented most tables to work with
the table directive for adding a caption but missed two of them.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
---
 .../bpf/standardization/instruction-set.rst   | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
index 08f614b10..8d1981050 100644
--- a/Documentation/bpf/standardization/instruction-set.rst
+++ b/Documentation/bpf/standardization/instruction-set.rst
@@ -296,12 +296,12 @@ For arithmetic and jump instructions (``ALU``, ``ALU64``, ``JMP`` and
 
   .. table:: Source operand location
 
-  ======  =====  ==============================================
-  source  value  description
-  ======  =====  ==============================================
-  K       0      use 32-bit 'imm' value as source operand
-  X       1      use 'src_reg' register value as source operand
-  ======  =====  ==============================================
+    ======  =====  ==============================================
+    source  value  description
+    ======  =====  ==============================================
+    K       0      use 32-bit 'imm' value as source operand
+    X       1      use 'src_reg' register value as source operand
+    ======  =====  ==============================================
 
 **instruction class**
   the instruction class (see `Instruction classes`_)
@@ -681,13 +681,13 @@ two complex atomic operations:
 
 .. table:: Complex atomic operations
 
-===========  ================  ===========================
-imm          value             description
-===========  ================  ===========================
-FETCH        0x01              modifier: return old value
-XCHG         0xe0 | FETCH      atomic exchange
-CMPXCHG      0xf0 | FETCH      atomic compare and exchange
-===========  ================  ===========================
+  ===========  ================  ===========================
+  imm          value             description
+  ===========  ================  ===========================
+  FETCH        0x01              modifier: return old value
+  XCHG         0xe0 | FETCH      atomic exchange
+  CMPXCHG      0xf0 | FETCH      atomic compare and exchange
+  ===========  ================  ===========================
 
 The ``FETCH`` modifier is optional for simple atomic operations, and
 always set for the complex atomic operations.  If the ``FETCH`` flag
-- 
2.40.1

-- 
Bpf mailing list -- bpf@ietf.org
To unsubscribe send an email to bpf-leave@ietf.org

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

* Re: [Bpf] [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation
  2024-05-26  6:18 [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation Dave Thaler
  2024-05-26  6:18 ` [Bpf] " Dave Thaler
@ 2024-05-26  9:04 ` Christoph Hellwig
  2024-05-26 17:00 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2024-05-26  9:04 UTC (permalink / raw)
  To: Dave Thaler; +Cc: bpf, bpf, Dave Thaler

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>


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

* Re: [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation
  2024-05-26  6:18 [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation Dave Thaler
  2024-05-26  6:18 ` [Bpf] " Dave Thaler
  2024-05-26  9:04 ` Christoph Hellwig
@ 2024-05-26 17:00 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-05-26 17:00 UTC (permalink / raw)
  To: Dave Thaler; +Cc: bpf, bpf, dthaler1968

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Sat, 25 May 2024 23:18:15 -0700 you wrote:
> The table captions patch corrected indented most tables to work with
> the table directive for adding a caption but missed two of them.
> 
> Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
> ---
>  .../bpf/standardization/instruction-set.rst   | 26 +++++++++----------
>  1 file changed, 13 insertions(+), 13 deletions(-)

Here is the summary with links:
  - [bpf-next] bpf, docs: Fix instruction.rst indentation
    https://git.kernel.org/bpf/bpf-next/c/e245ef8a0b06

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] 4+ messages in thread

end of thread, other threads:[~2024-05-26 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-26  6:18 [PATCH bpf-next] bpf, docs: Fix instruction.rst indentation Dave Thaler
2024-05-26  6:18 ` [Bpf] " Dave Thaler
2024-05-26  9:04 ` Christoph Hellwig
2024-05-26 17:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox