tools/virtio: fix build
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 5 Jul 2022 07:22:49 +0000 (09:22 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Aug 2022 08:26:07 +0000 (04:26 -0400)
commitd650f830f38b19039958f3f4504ceeb2b5922da7
tree801d5e5b539c97a486949b90c0ffebce3d5e9e9f
parent994cea53183c211f218d5dbe14ab634f5762f068
tools/virtio: fix build

Fix the build caused by the following changes:
- phys_addr_t is now defined in tools/include/linux/types.h
- dev_warn_once() is used in drivers/virtio/virtio_ring.c
- linux/uio.h included by vringh.h use INT_MAX defined in limits.h

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220705072249.7867-1-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Jason Wang <jasowang@redhat.com>
tools/virtio/linux/kernel.h
tools/virtio/linux/vringh.h