Files
android_kernel_xiaomi_sm8450/include/linux/virtio_ring.h
Michael S. Tsirkin 5487196878 virtio_ring: sparse warning fixup
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>
Acked-by: Cornelia Huck <cohuck@redhat.com>
2020-08-05 09:30:19 -04:00

2.9 KiB