diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-08-04 18:02:39 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 11:08:41 -0400 |
commit | e3e7994d53082e48d2a6a248376683d3be3dff9d (patch) | |
tree | 275e980041b8c11460b6f67b907cacb23737a0be /include/linux/virtio_caif.h | |
parent | e598960ff5e511b76a0eb8dff25207d35c2442c8 (diff) |
virtio_caif: correct tags for config space fields
Tag config space fields as having virtio endian-ness.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/linux/virtio_caif.h')
-rw-r--r-- | include/linux/virtio_caif.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/virtio_caif.h b/include/linux/virtio_caif.h index 5d2d3124ca3d..ea722479510c 100644 --- a/include/linux/virtio_caif.h +++ b/include/linux/virtio_caif.h @@ -11,9 +11,9 @@ #include <linux/types.h> struct virtio_caif_transf_config { - u16 headroom; - u16 tailroom; - u32 mtu; + __virtio16 headroom; + __virtio16 tailroom; + __virtio32 mtu; u8 reserved[4]; }; |