Skip to contentSkip to conversation

bpf, docs: Fix instruction.rst indentation

PATCH Applied Dave Thaler 3 participants 3 messages May 26, 2024

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

PATCH 1/1 bpf, docs: Fix instruction.rst indentation

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

---
 .../bpf/standardization/instruction-set.rst   | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
Documentation/bpf/standardization/instruction-set.rst +13 -13
index 08f614b10..8d1981050 100644
@@ -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
Signature · 1 line
2.40.1
#2 lore raw
In reply to Dave Thaler
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 7 lines · 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.

---
 .../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!

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