hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/include/uapi/linux/virtio_pmem.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
1
+/* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause */
22 /*
33 * Definitions for virtio-pmem devices.
44 *
....@@ -15,20 +15,20 @@
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
2323
2424 struct virtio_pmem_resp {
2525 /* Host return status corresponding to flush request */
26
- __u32 ret;
26
+ __le32 ret;
2727 };
2828
2929 struct virtio_pmem_req {
3030 /* command type */
31
- __u32 type;
31
+ __le32 type;
3232 };
3333
3434 #endif