Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

virtio_pmem: correct tags for config space fields

Since this is a modern-only device,
tag config space fields as having little endian-ness.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>

+2 -2
+2 -2
include/uapi/linux/virtio_pmem.h
··· 15 15 #include <linux/virtio_config.h> 16 16 17 17 struct virtio_pmem_config { 18 - __u64 start; 19 - __u64 size; 18 + __le64 start; 19 + __le64 size; 20 20 }; 21 21 22 22 #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0