aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vfio
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2025-08-28 18:58:14 +0000
committerAlex Williamson <alex.williamson@redhat.com>2025-08-28 13:40:51 -0600
commit03e073bc4dbc3d64ce0beb21fbe793ae7787e062 (patch)
tree6aa08c32514d71b64e0f1b630f88e0ac76162027 /tools/testing/selftests/vfio
parentvfio/cdx: update driver to build without CONFIG_GENERIC_MSI_IRQ (diff)
downloadlinux-03e073bc4dbc3d64ce0beb21fbe793ae7787e062.tar.gz
linux-03e073bc4dbc3d64ce0beb21fbe793ae7787e062.zip
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: 292e9ee22b0a ("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>
Diffstat (limited to 'tools/testing/selftests/vfio')
-rw-r--r--tools/testing/selftests/vfio/.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/vfio/.gitignore b/tools/testing/selftests/vfio/.gitignore
index 6d9381d60172..7fadc19d3bca 100644
--- a/tools/testing/selftests/vfio/.gitignore
+++ b/tools/testing/selftests/vfio/.gitignore
@@ -5,3 +5,6 @@
!*.h
!*.S
!*.sh
+!*.mk
+!.gitignore
+!Makefile