linux/tools/testing/selftests/vfio
David Matlack 03e073bc4d vfio: selftests: Fix .gitignore for already tracked files
Fix the rules in tools/testing/selftests/vfio/.gitignore to not ignore
some already tracked files (.gitignore, Makefile, lib/libvfio.mk).

This change should be a no-op, since these files are already tracked by git
and thus git will not ignore updates to them even though they match the
ignore rules in the VFIO selftests .gitignore file.

However, they do generate warnings with W=1, as reported by the kernel test
robot.

  $ KBUILD_EXTRA_WARN=1 scripts/misc-check
  tools/testing/selftests/vfio/.gitignore: warning: ignored by one of the .gitignore files
  tools/testing/selftests/vfio/Makefile: warning: ignored by one of the .gitignore files
  tools/testing/selftests/vfio/lib/libvfio.mk: warning: ignored by one of the .gitignore files

Fix this by explicitly un-ignoring the tracked files.

Fixes: 292e9ee22b ("selftests: Create tools/testing/selftests/vfio")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508280918.rFRyiLEU-lkp@intel.com/
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250828185815.382215-1-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2025-08-28 13:40:51 -06:00
..
lib vfio: selftests: Make iommufd the default iommu_mode 2025-08-27 12:14:11 -06:00
.gitignore vfio: selftests: Fix .gitignore for already tracked files 2025-08-28 13:40:51 -06:00
Makefile vfio: selftests: Add a script to help with running VFIO selftests 2025-08-27 12:14:11 -06:00
run.sh vfio: selftests: Add a script to help with running VFIO selftests 2025-08-27 12:14:11 -06:00
vfio_dma_mapping_test.c vfio: selftests: Add iommufd_compat_type1{,v2} modes 2025-08-27 12:14:10 -06:00
vfio_iommufd_setup_test.c vfio: selftests: Move helper to get cdev path to libvfio 2025-08-27 12:14:09 -06:00
vfio_pci_device_test.c vfio: selftests: Encapsulate IOMMU mode 2025-08-27 12:14:09 -06:00
vfio_pci_driver_test.c vfio: selftests: Replicate tests across all iommu_modes 2025-08-27 12:14:10 -06:00