tree: https://github.com/jgunthorpe/linux vfio_iommufd head: f44b706a4413f17e50f20999964b38d11ef84d98 commit: 7cdc995f9b8ed4bbf2e63095ccf5985c2700a532 [3/20] iommufd: Data structure to provide IOVA to PFN mapping config: arm64-allyesconfig compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/jgunthorpe/linux/commit/7cdc995f9b8ed4bbf2e63095ccf5985c2700a532 git remote add jgunthorpe https://github.com/jgunthorpe/linux git fetch --no-tags jgunthorpe vfio_iommufd git checkout 7cdc995f9b8ed4bbf2e63095ccf5985c2700a532 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/iommu/iommufd/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/iommu/iommufd/io_pagetable.c:309:5: warning: no previous prototype for function 'iopt_fill_domains_pages' [-Wmissing-prototypes] int iopt_fill_domains_pages(struct list_head *pages_list) ^ drivers/iommu/iommufd/io_pagetable.c:309:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int iopt_fill_domains_pages(struct list_head *pages_list) ^ static 1 warning generated. vim +/iopt_fill_domains_pages +309 drivers/iommu/iommufd/io_pagetable.c 308 > 309 int iopt_fill_domains_pages(struct list_head *pages_list) 310 { 311 struct iopt_pages_list *undo_elm; 312 struct iopt_pages_list *elm; 313 int rc; 314 315 list_for_each_entry(elm, pages_list, next) { 316 rc = iopt_area_fill_domains(elm->area, elm->pages); 317 if (rc) 318 goto err_undo; 319 } 320 return 0; 321 322 err_undo: 323 list_for_each_entry(undo_elm, pages_list, next) { 324 if (undo_elm == elm) 325 break; 326 iopt_area_unfill_domains(undo_elm->area, undo_elm->pages); 327 } 328 return rc; 329 } 330 -- 0-DAY CI Kernel Test Service https://01.org/lkp