projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577e677
)
virtio_pmem: correct tags for config space fields
author
Michael S. Tsirkin
<mst@redhat.com>
Fri, 10 Jul 2020 11:17:13 +0000
(07:17 -0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Wed, 5 Aug 2020 15:08:40 +0000
(11:08 -0400)
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>
include/uapi/linux/virtio_pmem.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/virtio_pmem.h
b/include/uapi/linux/virtio_pmem.h
index
b022787
..
d676b36
100644
(file)
--- 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 {
- __
u
64 start;
- __
u
64 size;
+ __
le
64 start;
+ __
le
64 size;
};
#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0