diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2016-02-01 11:17:55 +0530 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-02-08 16:40:38 +1100 |
commit | 805cc24afacb799a814327bd91005a5f21fd55fa (patch) | |
tree | 6feb9142bd6b884be6e83101a712d0f5e70309cf /lib/libvirtio/virtio.h | |
parent | cb8725edfb1360973e40a5f1d51750346a2a961b (diff) | |
download | SLOF-805cc24afacb799a814327bd91005a5f21fd55fa.zip SLOF-805cc24afacb799a814327bd91005a5f21fd55fa.tar.gz SLOF-805cc24afacb799a814327bd91005a5f21fd55fa.tar.bz2 |
virtio: fix code style/design issues.
The patch does not make any functional changes.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libvirtio/virtio.h')
-rw-r--r-- | lib/libvirtio/virtio.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libvirtio/virtio.h b/lib/libvirtio/virtio.h index d5759b4..9d6d8da 100644 --- a/lib/libvirtio/virtio.h +++ b/lib/libvirtio/virtio.h @@ -34,7 +34,7 @@ struct vring_desc { uint32_t len; /* Length */ uint16_t flags; /* The flags as indicated above */ uint16_t next; /* Next field if flags & NEXT */ -}; +}; /* Definitions for vring_avail.flags */ #define VRING_AVAIL_F_NO_INTERRUPT 1 @@ -44,8 +44,7 @@ struct vring_avail { uint16_t flags; uint16_t idx; uint16_t ring[]; -}; - +}; /* Definitions for vring_used.flags */ #define VRING_USED_F_NO_NOTIFY 1 |