* Re: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers [not found] <20240717-pci-qcom-hotplug-v2-5-71d304b817f8@linaro.org> @ 2024-07-18 15:04 ` kernel test robot 2024-07-18 15:32 ` Manivannan Sadhasivam 0 siblings, 1 reply; 2+ messages in thread From: kernel test robot @ 2024-07-18 15:04 UTC (permalink / raw) To: Manivannan Sadhasivam via B4 Relay, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, Kishon Vijay Abraham I, Bjorn Andersson, Konrad Dybcio Cc: llvm, oe-kbuild-all, linux-pci, linux-arm-msm, linux-kernel, devicetree, Manivannan Sadhasivam Hi Manivannan, kernel test robot noticed the following build errors: [auto build test ERROR on 91e3b24eb7d297d9d99030800ed96944b8652eaf] url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam-via-B4-Relay/PCI-qcom-ep-Drop-the-redundant-masking-of-global-IRQ-events/20240718-010848 base: 91e3b24eb7d297d9d99030800ed96944b8652eaf patch link: https://lore.kernel.org/r/20240717-pci-qcom-hotplug-v2-5-71d304b817f8%40linaro.org patch subject: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers config: i386-buildonly-randconfig-004-20240718 (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202407182239.m0d1pKRB-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pci/endpoint/pci-epc-core.c:843:3: error: call to undeclared function 'pci_bus_release_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 843 | pci_bus_release_domain_nr(NULL, &epc->dev); | ^ drivers/pci/endpoint/pci-epc-core.c:843:3: note: did you mean 'pci_bus_release_busn_res'? include/linux/pci.h:1142:6: note: 'pci_bus_release_busn_res' declared here 1142 | void pci_bus_release_busn_res(struct pci_bus *b); | ^ drivers/pci/endpoint/pci-epc-core.c:911:20: error: call to undeclared function 'pci_bus_find_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 911 | epc->domain_nr = pci_bus_find_domain_nr(NULL, dev); | ^ 2 errors generated. vim +/pci_bus_release_domain_nr +843 drivers/pci/endpoint/pci-epc-core.c 830 831 /** 832 * pci_epc_destroy() - destroy the EPC device 833 * @epc: the EPC device that has to be destroyed 834 * 835 * Invoke to destroy the PCI EPC device 836 */ 837 void pci_epc_destroy(struct pci_epc *epc) 838 { 839 pci_ep_cfs_remove_epc_group(epc->group); 840 device_unregister(&epc->dev); 841 842 if (IS_ENABLED(CONFIG_PCI_DOMAINS_GENERIC)) > 843 pci_bus_release_domain_nr(NULL, &epc->dev); 844 } 845 EXPORT_SYMBOL_GPL(pci_epc_destroy); 846 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers 2024-07-18 15:04 ` [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers kernel test robot @ 2024-07-18 15:32 ` Manivannan Sadhasivam 0 siblings, 0 replies; 2+ messages in thread From: Manivannan Sadhasivam @ 2024-07-18 15:32 UTC (permalink / raw) To: kernel test robot Cc: Manivannan Sadhasivam via B4 Relay, Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley, Kishon Vijay Abraham I, Bjorn Andersson, Konrad Dybcio, llvm, oe-kbuild-all, linux-pci, linux-arm-msm, linux-kernel, devicetree On Thu, Jul 18, 2024 at 11:04:04PM +0800, kernel test robot wrote: > Hi Manivannan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on 91e3b24eb7d297d9d99030800ed96944b8652eaf] > > url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam-via-B4-Relay/PCI-qcom-ep-Drop-the-redundant-masking-of-global-IRQ-events/20240718-010848 > base: 91e3b24eb7d297d9d99030800ed96944b8652eaf > patch link: https://lore.kernel.org/r/20240717-pci-qcom-hotplug-v2-5-71d304b817f8%40linaro.org > patch subject: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers > config: i386-buildonly-randconfig-004-20240718 (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-lkp@intel.com/config) > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-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@intel.com> > | Closes: https://lore.kernel.org/oe-kbuild-all/202407182239.m0d1pKRB-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/pci/endpoint/pci-epc-core.c:843:3: error: call to undeclared function 'pci_bus_release_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 843 | pci_bus_release_domain_nr(NULL, &epc->dev); > | ^ Hmm, should've used #ifdef as compiler can still access the statements under 'if(IS_ENABLED())' condition. - Mani > drivers/pci/endpoint/pci-epc-core.c:843:3: note: did you mean 'pci_bus_release_busn_res'? > include/linux/pci.h:1142:6: note: 'pci_bus_release_busn_res' declared here > 1142 | void pci_bus_release_busn_res(struct pci_bus *b); > | ^ > drivers/pci/endpoint/pci-epc-core.c:911:20: error: call to undeclared function 'pci_bus_find_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 911 | epc->domain_nr = pci_bus_find_domain_nr(NULL, dev); > | ^ > 2 errors generated. > > > vim +/pci_bus_release_domain_nr +843 drivers/pci/endpoint/pci-epc-core.c > > 830 > 831 /** > 832 * pci_epc_destroy() - destroy the EPC device > 833 * @epc: the EPC device that has to be destroyed > 834 * > 835 * Invoke to destroy the PCI EPC device > 836 */ > 837 void pci_epc_destroy(struct pci_epc *epc) > 838 { > 839 pci_ep_cfs_remove_epc_group(epc->group); > 840 device_unregister(&epc->dev); > 841 > 842 if (IS_ENABLED(CONFIG_PCI_DOMAINS_GENERIC)) > > 843 pci_bus_release_domain_nr(NULL, &epc->dev); > 844 } > 845 EXPORT_SYMBOL_GPL(pci_epc_destroy); > 846 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki -- மணிவண்ணன் சதாசிவம் ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-18 15:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240717-pci-qcom-hotplug-v2-5-71d304b817f8@linaro.org>
2024-07-18 15:04 ` [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers kernel test robot
2024-07-18 15:32 ` Manivannan Sadhasivam
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox