[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504060122.RXfUdGx9-lkp@intel.com>
Date: Sun, 6 Apr 2025 01:38:41 +0800
From: kernel test robot <lkp@...el.com>
To: Jerome Brunet <jbrunet@...libre.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Bjorn Helgaas <helgaas@...nel.org>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Jon Mason <jdmason@...zu.us>, Dave Jiang <dave.jiang@...el.com>,
Allen Hubbe <allenbh@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev,
Marek Vasut <marek.vasut+renesas@...il.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Yuya Hamamachi <yuya.hamamachi.sx@...esas.com>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
ntb@...ts.linux.dev, Jerome Brunet <jbrunet@...libre.com>
Subject: Re: [PATCH v2 1/3] PCI: endpoint: add epc_feature argument for
pci_epf_free_space()
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: loongarch-randconfig-001-20250405 (https://download.01.org/0day-ci/archive/20250406/202504060122.RXfUdGx9-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250406/202504060122.RXfUdGx9-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504060122.RXfUdGx9-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/nvme/target/pci-epf.c: In function 'nvmet_pci_epf_free_bar':
>> drivers/nvme/target/pci-epf.c:2165:9: error: too few arguments to function 'pci_epf_free_space'
2165 | pci_epf_free_space(epf, nvme_epf->reg_bar, BAR_0, PRIMARY_INTERFACE);
| ^~~~~~~~~~~~~~~~~~
In file included from include/linux/pci-epc.h:12,
from drivers/nvme/target/pci-epf.c:19:
include/linux/pci-epf.h:224:6: note: declared here
224 | void pci_epf_free_space(struct pci_epf *epf, void *addr, enum pci_barno bar,
| ^~~~~~~~~~~~~~~~~~
vim +/pci_epf_free_space +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
Powered by blists - more mailing lists