summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-07-10 13:17:13 +0200
committerMichael S. Tsirkin <mst@redhat.com>2020-08-05 17:08:39 +0200
commitfc4a1accbb4ef372bb55b7ab161cf88e3b631935 (patch)
tree2f10ca71908c5f515063f7dfe7d9c70747910cd2 /include/uapi
parentvirtio_crypto: correct tags for config space fields (diff)
downloadlinux-fc4a1accbb4ef372bb55b7ab161cf88e3b631935.tar.xz
linux-fc4a1accbb4ef372bb55b7ab161cf88e3b631935.zip
virtio_fs: correct tags for config space fields
Since fs is a modern-only device, tag config space fields as having little endian-ness. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/virtio_fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_fs.h b/include/uapi/linux/virtio_fs.h
index b02eb2ac3d99..3056b6e9f8ce 100644
--- a/include/uapi/linux/virtio_fs.h
+++ b/include/uapi/linux/virtio_fs.h
@@ -13,7 +13,7 @@ struct virtio_fs_config {
__u8 tag[36];
/* Number of request queues */
- __u32 num_request_queues;
+ __le32 num_request_queues;
} __attribute__((packed));
#endif /* _UAPI_LINUX_VIRTIO_FS_H */