Hi David,
kernel test robot noticed the following build errors:
[auto build test ERROR on fa804aa4ac1b091ef2ec2981f08a1c28aaeba8e7]
url: https://github.com/intel-lab-lkp/linux/commits/David-Matlack/vfio-selftests-... base: fa804aa4ac1b091ef2ec2981f08a1c28aaeba8e7 patch link: https://lore.kernel.org/r/20251121181429.1421717-12-dmatlack%40google.com patch subject: [PATCH v3 11/18] vfio: selftests: Move IOMMU library code into iommu.c config: riscv-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251123/202511230037.0t3o9ByZ-lkp@i...) compiler: riscv64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251123/202511230037.0t3o9ByZ-lkp@i...)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot lkp@intel.com | Closes: https://lore.kernel.org/r/202511230037.0t3o9ByZ-lkp@intel.com/
All errors (new ones prefixed by >>):
tools/testing/selftests/vfio/lib/iommu.c:2:10: fatal error: dirent.h: No such file or directory
2 | #include <dirent.h> | ^~~~~~~~~~ compilation terminated.
vim +2 tools/testing/selftests/vfio/lib/iommu.c
4391647129942c David Matlack 2025-11-21 @2 #include <dirent.h> 4391647129942c David Matlack 2025-11-21 3 #include <fcntl.h> 4391647129942c David Matlack 2025-11-21 4 #include <libgen.h> 4391647129942c David Matlack 2025-11-21 5 #include <stdint.h> 4391647129942c David Matlack 2025-11-21 6 #include <stdlib.h> 4391647129942c David Matlack 2025-11-21 7 #include <string.h> 4391647129942c David Matlack 2025-11-21 8 #include <unistd.h> 4391647129942c David Matlack 2025-11-21 9