tools/virtio: fix build caused by virtio_ring changes
Fix the build dependency for virtio_test. The virtio_ring that is used from the test requires container_of_const(). Change to use container_of.h kernel header directly and adapt related codes. Signed-off-by:Shunsuke Mie <mie@igel.co.jp> Message-Id: <20230417022037.917668-2-mie@igel.co.jp> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- tools/include/linux/types.h 5 additions, 0 deletionstools/include/linux/types.h
- tools/virtio/linux/compiler.h 2 additions, 0 deletionstools/virtio/linux/compiler.h
- tools/virtio/linux/kernel.h 1 addition, 4 deletionstools/virtio/linux/kernel.h
- tools/virtio/linux/uaccess.h 2 additions, 9 deletionstools/virtio/linux/uaccess.h
Loading
Please register or sign in to comment