Thread (69 messages) flat view 69 messages, 7 authors, 2020-08-07

Re: [PATCH v2 02/24] virtio_ring: sparse warning fixup

From: Cornelia Huck <cohuck@redhat.com>
Date: 2020-08-04 14:18:44
Also in: lkml

On Mon, 3 Aug 2020 16:58:42 -0400
"Michael S. Tsirkin" [off-list ref] wrote:
virtio_store_mb was built with split ring in mind so it accepts
__virtio16 arguments. Packed ring uses __le16 values, so sparse
complains.  It's just a store with some barriers so let's convert it to
a macro, we don't loose too much type safety by doing that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 include/linux/virtio_ring.h | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
Acked-by: Cornelia Huck <cohuck@redhat.com>

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help