Commit a28feb85 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
parent 577e677a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@
#include <linux/virtio_config.h>

struct virtio_pmem_config {
	__u64 start;
	__u64 size;
	__le64 start;
	__le64 size;
};

#define VIRTIO_PMEM_REQ_TYPE_FLUSH      0