--- src/qxl_ring.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/qxl_ring.c b/src/qxl_ring.c index 2156113..0dcacf7 100644 --- a/src/qxl_ring.c +++ b/src/qxl_ring.c @@ -91,6 +91,8 @@ qxl_ring_push (struct qxl_ring *ring, idx = header->prod & (ring->n_elements - 1); elt = ring->ring->elements + idx * ring->element_size; + /* TODO: We should use proper MMIO accessors; the use of + volatile leads to a gcc warning. See commit f7ba4bae */ memcpy((void *)elt, new_elt, ring->element_size); header->prod++;
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel