]> asedeno.scripts.mit.edu Git - linux.git/commit
virtio_ring: put split ring fields in a sub struct
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:21 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commite593bf9751566e0ba5a055a976a4abd54101d572
tree3acfa90d00885ecd923690aa65d90a945a7076c7
parente6f633e5beab659513297f1210b428ce6f46e69c
virtio_ring: put split ring fields in a sub struct

Put the split ring specific fields in a sub-struct named
as "split" to avoid misuse after introducing packed ring.
There is no functional change.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c