Skip to content

vfio: selftests: Clean up <uapi/linux/types.h> includes

David Matlack kvm linux-kselftest lkml 1 version Applied

Status from this message: Applied to vfio for-linus branch for v6.19. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2tools include: Add definitions for __aligned_{l,b}e64tools/include/linux/types.h+8 -00 replies
2/2vfio: selftests: Drop <uapi/linux/types.h> includestools/testing/selftests/vfio/lib/include/libvfio/iova_allocator.h tools/testing/selftests/vfio/lib/iommu.c tools/testing/selftests/vfio/lib/iova_allocator.c +3 more+0 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vfio: selftests: Clean up <uapi/linux/types.h> includes

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

Signature · 1 line
2.52.0.322.g1dd061c0dc-goog