Re: [PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Shunsuke Mie
On 2023/04/10 19:58, Michael S. Tsirkin wrote: On Mon, Apr 10, 2023 at 07:56:13PM +0900, Shunsuke Mie wrote: On 2023/04/10 19:00, Shunsuke Mie wrote: On 2023/04/10 18:46, Michael S. Tsirkin wrote: On Mon, Apr 10, 2023 at 06:24:19PM +0900, Shunsuke Mie wrote: Fix the build dependency for virt

Re: [PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Michael S. Tsirkin
On Mon, Apr 10, 2023 at 07:56:13PM +0900, Shunsuke Mie wrote: > > On 2023/04/10 19:00, Shunsuke Mie wrote: > > > > On 2023/04/10 18:46, Michael S. Tsirkin wrote: > > > On Mon, Apr 10, 2023 at 06:24:19PM +0900, Shunsuke Mie wrote: > > > > Fix the build dependency for virtio_test. virtio_ring requi

Re: [PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Shunsuke Mie
On 2023/04/10 19:00, Shunsuke Mie wrote: On 2023/04/10 18:46, Michael S. Tsirkin wrote: On Mon, Apr 10, 2023 at 06:24:19PM +0900, Shunsuke Mie wrote: Fix the build dependency for virtio_test. virtio_ring requires container_of_const() and struce device. Signed-off-by: Shunsuke Mie ---   tool

Re: [PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Shunsuke Mie
On 2023/04/10 18:46, Michael S. Tsirkin wrote: On Mon, Apr 10, 2023 at 06:24:19PM +0900, Shunsuke Mie wrote: Fix the build dependency for virtio_test. virtio_ring requires container_of_const() and struce device. Signed-off-by: Shunsuke Mie --- tools/include/linux/container_of.h | 36 ++

Re: [PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Michael S. Tsirkin
On Mon, Apr 10, 2023 at 06:24:19PM +0900, Shunsuke Mie wrote: > Fix the build dependency for virtio_test. virtio_ring requires > container_of_const() and struce device. > > Signed-off-by: Shunsuke Mie > --- > tools/include/linux/container_of.h | 36 ++ > tools/virtio/

[PATCH] tools/virtio: fix build caused by virtio_ring changes

2023-04-10 Thread Shunsuke Mie
Fix the build dependency for virtio_test. virtio_ring requires container_of_const() and struce device. Signed-off-by: Shunsuke Mie --- tools/include/linux/container_of.h | 36 ++ tools/virtio/linux/compiler.h | 3 +++ tools/virtio/linux/kernel.h| 5 +---