[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] doc: fix manual wording to mention correct offsets
From: |
Jose E. Marchesi |
Subject: |
Re: [PATCH] doc: fix manual wording to mention correct offsets |
Date: |
Sat, 27 Feb 2021 09:34:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Sergei.
Thanks for the fix.
I just applied it on your behalf in both master and maint/poke-1.
Thanks!
> ---
> doc/poke.texi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/doc/poke.texi b/doc/poke.texi
> index cc74c7b8..5d353543 100644
> --- a/doc/poke.texi
> +++ b/doc/poke.texi
> @@ -365,7 +365,7 @@ type Packet =
> @{
> uint<16> magic = 0xef;
> uint<32> size;
> - byte[size] data @@ 64#B;
> + byte[size] data @@ 8#B;
> @};
> @end example
>
> @@ -375,12 +375,12 @@ encoding):
>
> @itemize @minus
> @item
> -Read four bytes from the IO space, mount them into an unsigned 16-bit
> +Read two bytes from the IO space, mount them into an unsigned 16-bit
> integer using whatever current endianness, and put it in
> @code{magic}. If this unsigned 16-bit integer doesn't equal to
> @code{0xef}, then stop and emit a ``data integrity'' error.
> @item
> -Read eight bytes, mount them into an unsigned 32-bit integer using the
> +Read four bytes, mount them into an unsigned 32-bit integer using the
> same endianness, and put it in @code{size}.
> @item
> Seek the IO space to advance 16 bits.