Skip to content

Commit

Permalink
virtio_caif: correct tags for config space fields
Browse files Browse the repository at this point in the history
Tag config space fields as having virtio endian-ness.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
mstsirkin committed Aug 5, 2020
1 parent e598960 commit e3e7994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/virtio_caif.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};

Expand Down

0 comments on commit e3e7994

Please sign in to comment.