]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: drop internal struct from UAPI
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Feb 2019 22:13:57 +0000 (17:13 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Feb 2019 20:29:48 +0000 (15:29 -0500)
commit3abefa76d6bdf06032aceb95574522d4d0f0bdd0
treee0cebd49e0ccec658164d90fd5d4f122c89503e0
parent1c84e89b20f4ebced314c7935f3ba284758c6fab
virtio: drop internal struct from UAPI

There's no reason to expose struct vring_packed in UAPI - if we do we
won't be able to change or drop it, and it's not part of any interface.

Let's move it to virtio_ring.c

Cc: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c
include/uapi/linux/virtio_ring.h