virtio_ring: switch to new memory access APIs
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 22 Oct 2014 12:42:09 +0000 (15:42 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:25 +0000 (12:05 +0200)
commit00e6f3d9d9e356dbf08369ffc4576f79438d51ea
tree91fbb68059950b8c990ccaeea84ef9cfc0a8b718
parenteef960a04354d13426c43a4e3750a5e2b383040c
virtio_ring: switch to new memory access APIs

Use virtioXX_to_cpu and friends for access to
all multibyte structures in memory.

Note: this is intentionally mechanical.
A follow-up patch will split long lines etc.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/virtio/virtio_ring.c