summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_pmem.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-07-10 14:17:13 +0300
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 18:08:40 +0300
commita28feb855cc0ad452acd3dfe2b8f2841927da5f1 (patch)
treea936741b1a89aeaded14541bd3514f0c7047dc8e /include/uapi/linux/virtio_pmem.h
parent577e677a785357542311a645eeb1756cd83988be (diff)
downloadlinux-a28feb855cc0ad452acd3dfe2b8f2841927da5f1.tar.xz
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>
Diffstat (limited to 'include/uapi/linux/virtio_pmem.h')
-rw-r--r--include/uapi/linux/virtio_pmem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h
index b022787ffb94..d676b3620383 100644
--- a/include/uapi/linux/virtio_pmem.h
+++ b/include/uapi/linux/virtio_pmem.h
@@ -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