[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210130846.pV5l6LiJ-lkp@intel.com>
Date: Thu, 13 Oct 2022 21:47:46 +0800
From: kernel test robot <lkp@...el.com>
To: Jason Gunthorpe <jgg@...dia.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Yi Liu <yi.l.liu@...el.com>, Nicolin Chen <nicolinc@...dia.com>
Subject: [jgunthorpe:vfio_iommufd 3/20]
drivers/iommu/iommufd/io_pagetable.c:309:5: warning: no previous prototype
for 'iopt_fill_domains_pages'
tree: https://github.com/jgunthorpe/linux vfio_iommufd
head: f44b706a4413f17e50f20999964b38d11ef84d98
commit: 7cdc995f9b8ed4bbf2e63095ccf5985c2700a532 [3/20] iommufd: Data structure to provide IOVA to PFN mapping
config: s390-allmodconfig
compiler: s390-linux-gcc (GCC) 12.1.0
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
# 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=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/iommu/iommufd/io_pagetable.c:309:5: warning: no previous prototype for 'iopt_fill_domains_pages' [-Wmissing-prototypes]
309 | int iopt_fill_domains_pages(struct list_head *pages_list)
| ^~~~~~~~~~~~~~~~~~~~~~~
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
View attachment "config" of type "text/plain" (119688 bytes)
Powered by blists - more mailing lists