Re: [PATCH v2 1/3] PCI: endpoint: add epc_feature argument for pci_epf_free_space()
From: kernel test robot
Date: Sat Apr 05 2025 - 16:04:11 EST
Hi Jerome,
kernel test robot noticed the following build errors:
[auto build test ERROR on dea140198b846f7432d78566b7b0b83979c72c2b]
url: https://github.com/intel-lab-lkp/linux/commits/Jerome-Brunet/PCI-endpoint-add-epc_feature-argument-for-pci_epf_free_space/20250405-014733
base: dea140198b846f7432d78566b7b0b83979c72c2b
patch link: https://lore.kernel.org/r/20250404-pci-ep-size-alignment-v2-1-c3a0db4cfc57%40baylibre.com
patch subject: [PATCH v2 1/3] PCI: endpoint: add epc_feature argument for pci_epf_free_space()
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250406/202504060315.dkEQSXkB-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250406/202504060315.dkEQSXkB-lkp@xxxxxxxxx/reproduce)
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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504060315.dkEQSXkB-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> drivers/nvme/target/pci-epf.c:2165:69: error: too few arguments to function call, expected 5, have 4
2165 | pci_epf_free_space(epf, nvme_epf->reg_bar, BAR_0, PRIMARY_INTERFACE);
| ~~~~~~~~~~~~~~~~~~ ^
include/linux/pci-epf.h:224:6: note: 'pci_epf_free_space' declared here
224 | void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | const struct pci_epc_features *epc_features,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
226 | enum pci_epc_interface_type type);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +2165 drivers/nvme/target/pci-epf.c
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2157
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2158 static void nvmet_pci_epf_free_bar(struct nvmet_pci_epf *nvme_epf)
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2159 {
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2160 struct pci_epf *epf = nvme_epf->epf;
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2161
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2162 if (!nvme_epf->reg_bar)
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2163 return;
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2164
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 @2165 pci_epf_free_space(epf, nvme_epf->reg_bar, BAR_0, PRIMARY_INTERFACE);
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2166 nvme_epf->reg_bar = NULL;
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2167 }
0faa0fe6f90ea5 Damien Le Moal 2025-01-04 2168
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki