* [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
@ 2024-04-19 21:38 Dave Thaler
2024-04-19 21:38 ` [Bpf] " Dave Thaler
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Dave Thaler @ 2024-04-19 21:38 UTC (permalink / raw)
To: bpf; +Cc: bpf, Dave Thaler, 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 <dthaler1968@googlemail.com>
---
Documentation/bpf/standardization/instruction-set.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
index 8d0781f0b..02fbc286c 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)
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* [Bpf] [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
2024-04-19 21:38 [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst Dave Thaler
@ 2024-04-19 21:38 ` Dave Thaler
2024-04-21 16:38 ` David Vernet
2024-04-21 17:10 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: Dave Thaler @ 2024-04-19 21:38 UTC (permalink / raw)
To: bpf; +Cc: bpf, Dave Thaler, 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 <dthaler1968@googlemail.com>
---
Documentation/bpf/standardization/instruction-set.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
index 8d0781f0b..02fbc286c 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)
--
2.40.1
--
Bpf mailing list
Bpf@ietf.org
https://www.ietf.org/mailman/listinfo/bpf
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [Bpf] [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
2024-04-19 21:38 [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst Dave Thaler
2024-04-19 21:38 ` [Bpf] " Dave Thaler
@ 2024-04-21 16:38 ` David Vernet
2024-04-21 16:38 ` David Vernet
2024-04-21 17:10 ` patchwork-bot+netdevbpf
2 siblings, 1 reply; 5+ messages in thread
From: David Vernet @ 2024-04-21 16:38 UTC (permalink / raw)
To: Dave Thaler; +Cc: bpf, bpf, Dave Thaler, Dave Thaler
[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]
On Fri, Apr 19, 2024 at 02:38:26PM -0700, Dave Thaler 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 <dthaler1968@googlemail.com>
Acked-by: David Vernet <void@manifault.com>
> ---
> Documentation/bpf/standardization/instruction-set.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
> index 8d0781f0b..02fbc286c 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)
>
> --
> 2.40.1
>
> --
> Bpf mailing list
> Bpf@ietf.org
> https://www.ietf.org/mailman/listinfo/bpf
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bpf] [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
2024-04-21 16:38 ` David Vernet
@ 2024-04-21 16:38 ` David Vernet
0 siblings, 0 replies; 5+ messages in thread
From: David Vernet @ 2024-04-21 16:38 UTC (permalink / raw)
To: Dave Thaler; +Cc: bpf, bpf, Dave Thaler, Dave Thaler
[-- Attachment #1.1: Type: text/plain, Size: 1352 bytes --]
On Fri, Apr 19, 2024 at 02:38:26PM -0700, Dave Thaler 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 <dthaler1968@googlemail.com>
Acked-by: David Vernet <void@manifault.com>
> ---
> Documentation/bpf/standardization/instruction-set.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/bpf/standardization/instruction-set.rst b/Documentation/bpf/standardization/instruction-set.rst
> index 8d0781f0b..02fbc286c 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)
>
> --
> 2.40.1
>
> --
> Bpf mailing list
> Bpf@ietf.org
> https://www.ietf.org/mailman/listinfo/bpf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 76 bytes --]
--
Bpf mailing list
Bpf@ietf.org
https://www.ietf.org/mailman/listinfo/bpf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst
2024-04-19 21:38 [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst Dave Thaler
2024-04-19 21:38 ` [Bpf] " Dave Thaler
2024-04-21 16:38 ` David Vernet
@ 2024-04-21 17:10 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-04-21 17:10 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 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 <dthaler1968@googlemail.com>
> ---
> 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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-21 17:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 21:38 [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst Dave Thaler
2024-04-19 21:38 ` [Bpf] " Dave Thaler
2024-04-21 16:38 ` David Vernet
2024-04-21 16:38 ` David Vernet
2024-04-21 17:10 ` 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