* [virtio-dev] [PATCH] Fix ^= in example code
@ 2019-10-11 11:43 Jan Kiszka
2019-10-12 16:56 ` Michael S. Tsirkin
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-10-11 11:43 UTC (permalink / raw)
To: virtio-dev@lists.oasis-open.org
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [virtio-dev] [PATCH] Fix ^= in example code
2019-10-11 11:43 [virtio-dev] [PATCH] Fix ^= in example code Jan Kiszka
@ 2019-10-12 16:56 ` Michael S. Tsirkin
0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2019-10-12 16:56 UTC (permalink / raw)
To: Jan Kiszka; +Cc: virtio-dev@lists.oasis-open.org
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
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-12 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 11:43 [virtio-dev] [PATCH] Fix ^= in example code Jan Kiszka
2019-10-12 16:56 ` Michael S. Tsirkin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.