]> git.baikalelectronics.ru Git - kernel.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)
commit80a1e4969dc3274c46b8d594be0c10a583777eae
tree3acfa90d00885ecd923690aa65d90a945a7076c7
parentd13e30efe32fdd65cdd7fadf23bab65f00fb58d6
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