On Fri, 19 Dec 2025 23:38:16 +0000 David Matlack <[email protected]> wrote:
> Small clean up series to eliminate the extra includes of > <uapi/linux/types.h> from various VFIO selftests files. This include is > not causing any problems now, but it is causing benign typedef > redifinitions. Those redifinitions will become a problem when the VFIO > selftests library is built into KVM selftests, since KVM selftests build > with -std=gnu99. > > Cc: Yosry Ahmed <[email protected]> > Cc: Josh Hilke <[email protected]> > > David Matlack (2): > tools include: Add definitions for __aligned_{l,b}e64 > vfio: selftests: Drop <uapi/linux/types.h> includes > > tools/include/linux/types.h | 8 ++++++++ > .../selftests/vfio/lib/include/libvfio/iova_allocator.h | 1 - > tools/testing/selftests/vfio/lib/iommu.c | 1 - > tools/testing/selftests/vfio/lib/iova_allocator.c | 1 - > tools/testing/selftests/vfio/lib/vfio_pci_device.c | 1 - > tools/testing/selftests/vfio/vfio_dma_mapping_test.c | 1 - > tools/testing/selftests/vfio/vfio_iommufd_setup_test.c | 1 - > 7 files changed, 8 insertions(+), 6 deletions(-) > > > base-commit: d721f52e31553a848e0e9947ca15a49c5674aef3 Applied to vfio for-linus branch for v6.19. Thanks, Alex

