Re: [Bpf] [PATCH bpf-next] bpf, docs: Fix formatting nit in instruction-set.rst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>

Acked-by: David Vernet <void@xxxxxxxxxxxxx>

> ---
>  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@xxxxxxxx
> https://www.ietf.org/mailman/listinfo/bpf

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux