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
15#include <linux/virtio_config.h>15#include <linux/virtio_config.h>
16 16
17struct virtio_pmem_config {17struct virtio_pmem_config {
18 __u64 start;18 __le64 start;
19 __u64 size;19 __le64 size;
20};20};
21 21
22#define VIRTIO_PMEM_REQ_TYPE_FLUSH 022#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0