bpf, docs: Fix formatting nit in instruction-set.rst
authorDave Thaler <dthaler1968@googlemail.com>
Fri, 19 Apr 2024 21:38:26 +0000 (14:38 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 21 Apr 2024 17:09:12 +0000 (10:09 -0700)
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 <dthaler1968@googlemail.com>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20240419213826.7301-1-dthaler1968@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/standardization/instruction-set.rst

index 1f92551a34b99a88c5056b405b6cc8bf83aa8a16..d03d90afbd7d995e3f5a30f5cd46125b21dc6270 100644 (file)
@@ -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)