diff options
| author | Dave Thaler <[email protected]> | 2024-04-19 14:38:26 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-04-21 10:09:12 -0700 |
| commit | 735f5b8a7ccf383e50d76f7d1c25769eee474812 (patch) | |
| tree | 2a11d1cffa7203004e9cb150f26aa0eab671b847 | |
| parent | db50040d09cc511889b2c949a0c93d017e44f081 (diff) | |
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.
Signed-off-by: Dave Thaler <[email protected]>
Acked-by: David Vernet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
| -rw-r--r-- | Documentation/bpf/standardization/instruction-set.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst index 1f92551a34b9..d03d90afbd7d 100644 --- a/Documentation/bpf/standardization/instruction-set.rst +++ b/Documentation/bpf/standardization/instruction-set.rst @@ -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) |