bpf, docs: Fix formatting nit in instruction-set.rst
Subsystems (3)
PATCH 1/1 bpf, docs: Fix formatting nit in instruction-set.rst
Other places that had pseudocode were prefixed with ::
so as to appear in a literal block, but one place was inconsistent. This patch fixes that inconsistency.
--- Documentation/bpf/standardization/instruction-set.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/bpf/standardization/instruction-set.rst +1 -1
@@ -370,7 +370,7 @@ Note that there are varying definitions of the signed modulo operation when the dividend or divisor are negative, where implementations often vary by language such that Python, Ruby, etc. differ from C, Go, Java, etc. This specification requires that signed modulo use truncated division -(where -13 % 3 == -1) as implemented in C, Go, etc.: +(where -13 % 3 == -1) as implemented in C, Go, etc.:: a % n = a - n * trunc(a / n)
Signature · 1 line
2.40.1
Quoted 5 lines · Dave Thaler
Other places that had pseudocode were prefixed with ::
so as to appear in a literal block, but one place was inconsistent. This patch fixes that inconsistency.Signed-off-by Dave Thaler <[email protected]>
Quoted 24 lines
--- Documentation/bpf/standardization/instruction-set.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/bpf/standardization/instruction-set.rst +1
-1@@ -370,7 +370,7 @@ Note that there are varying definitions of the signed modulo operation when the dividend or divisor are negative, where implementations often vary by language such that Python, Ruby, etc. differ from C, Go, Java, etc. This specification requires that signed modulo use truncated division -(where -13 % 3 == -1) as implemented in C, Go, etc.: +(where -13 % 3 == -1) as implemented in C, Go, etc.:: a % n = a - n * trunc(a / n)Signature · 6 lines
2.40.1 -- Bpf mailing list [email protected] https://www.ietf.org/mailman/listinfo/bpf
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 8 lines · On Fri, 19 Apr 2024 14:38:26 -0700 you wrote:
Other places that had pseudocode were prefixed with ::
so as to appear in a literal block, but one place was inconsistent. This patch fixes that inconsistency.Signed-off-by Dave Thaler <[email protected]>--- Documentation/bpf/standardization/instruction-set.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
https://git.kernel.org/bpf/bpf-next/c/735f5b8a7ccf
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html