mirror-linux/tools/testing/selftests/vfio
David Matlack 193120dddd vfio: selftests: Drop <uapi/linux/types.h> includes
Drop the <uapi/linux/types.h> includes now that <linux/types.h>
(tools/include/linux/types.h) has a definition for __aligned_le64, which
is needed by <linux/iommufd.h>.

Including <uapi/linux/types.h> is harmless but causes benign typedef
redefinitions. This is not a problem for VFIO selftests but becomes an
issue when the VFIO selftests library is built into KVM selftests, since
they are built with -std=gnu99 which does not allow typedef redifitions.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251219233818.1965306-3-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
2025-12-23 14:17:13 -07:00
..
lib vfio: selftests: Drop <uapi/linux/types.h> includes 2025-12-23 14:17:13 -07:00
scripts vfio: selftests: Split run.sh into separate scripts 2025-11-28 10:58:06 -07:00
.gitignore vfio: selftests: Fix .gitignore for already tracked files 2025-08-28 13:40:51 -06:00
Makefile vfio: selftests: Add vfio_pci_device_init_perf_test 2025-11-28 10:58:07 -07:00
vfio_dma_mapping_test.c vfio: selftests: Drop <uapi/linux/types.h> includes 2025-12-23 14:17:13 -07:00
vfio_iommufd_setup_test.c vfio: selftests: Drop <uapi/linux/types.h> includes 2025-12-23 14:17:13 -07:00
vfio_pci_device_init_perf_test.c vfio: selftests: Add vfio_pci_device_init_perf_test 2025-11-28 10:58:07 -07:00
vfio_pci_device_test.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
vfio_pci_driver_test.c Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00