History

virtio_pmem: correct tags for config space fields

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

Michael S. Tsirkin committed 6 years ago

Commit a28feb81 parent 577e6771 file · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/virtio_pmem.h+2−2
@@ -15,8 +15,8 @@ · 14 unmodified lines
1515 #include <linux/virtio_config.h>
1616
1717 struct virtio_pmem_config {
18− __u64 start;
19− __u64 size;
18+ __le64 start;
19+ __le64 size;
2020 };
2121
2222 #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0