Next in thread → Next in month →

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

From
Michael S. Tsirkin <>
Date
2019-10-12T16:56:52+00:00
ID
Thread
Re: [virtio-dev] [PATCH] Fix ^= in example code
On Fri, Oct 11, 2019 at 01:43:41PM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <>
> 
> Trying to escaping ^ here only leaves the backslash in the output.
> 
> Signed-off-by: Jan Kiszka <>

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: 
> For additional commands, e-mail: 
Next in thread → Next in month →