OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] [PATCH] Fix ^= in example code


On Fri, Oct 11, 2019 at 01:43:41PM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> Trying to escaping ^ here only leaves the backslash in the output.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Thanks! I think this kind of typo can be merged with no need for votes,
we have a standing rule for typos.

> ---
>  packed-ring.tex | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/packed-ring.tex b/packed-ring.tex
> index caf47a5..ea92543 100644
> --- a/packed-ring.tex
> +++ b/packed-ring.tex
> @@ -634,7 +634,7 @@ \subsubsection{Implementation Example}\label{sec:Basic Facilities of a Virtio De
>  
>          if (vq->next_avail >= vq->size) {
>                  vq->next_avail = 0;
> -                vq->avail_wrap_count \^= 1;
> +                vq->avail_wrap_count ^= 1;
>          }
>  }
>  vq->sgs[id] = sgs;
> @@ -727,7 +727,7 @@ \subsection{Receiving Used Buffers From The Device}\label{sec:Basic Facilities o
>          vq->next_used += sgs;
>          if (vq->next_used >= vq->size) {
>                  vq->next_used -= vq->size;
> -                vq->used_wrap_count \^= 1;
> +                vq->used_wrap_count ^= 1;
>          }
>  
>          free_id(vq, id);
> -- 
> 2.16.4
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]