From: kernel test robot <lkp@intel.com>
To: "Manivannan Sadhasivam via B4 Relay"
<devnull+manivannan.sadhasivam.linaro.org@kernel.org>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Krzysztof Wilczyński" <kw@linux.com>,
"Rob Herring" <robh@kernel.org>,
"Bjorn Helgaas" <helgaas@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Kishon Vijay Abraham I" <kishon@kernel.org>,
"Bjorn Andersson" <andersson@kernel.org>,
"Konrad Dybcio" <konrad.dybcio@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH 06/14] PCI: endpoint: Assign PCI domain number for endpoint controllers
Date: Tue, 16 Jul 2024 23:41:08 +0800 [thread overview]
Message-ID: <202407162357.A9pxRKuo-lkp@intel.com> (raw)
In-Reply-To: <20240715-pci-qcom-hotplug-v1-6-5f3765cc873a@linaro.org>
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/20240716-014703
base: 91e3b24eb7d297d9d99030800ed96944b8652eaf
patch link: https://lore.kernel.org/r/20240715-pci-qcom-hotplug-v1-6-5f3765cc873a%40linaro.org
patch subject: [PATCH 06/14] PCI: endpoint: Assign PCI domain number for endpoint controllers
config: i386-randconfig-001-20240716 (https://download.01.org/0day-ci/archive/20240716/202407162357.A9pxRKuo-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/20240716/202407162357.A9pxRKuo-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/202407162357.A9pxRKuo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pci/endpoint/pci-epc-core.c:902:19: error: call to undeclared function 'pci_bus_find_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
902 | epc->domain_nr = pci_bus_find_domain_nr(NULL, dev);
| ^
1 error generated.
vim +/pci_bus_find_domain_nr +902 drivers/pci/endpoint/pci-epc-core.c
866
867 /**
868 * __pci_epc_create() - create a new endpoint controller (EPC) device
869 * @dev: device that is creating the new EPC
870 * @ops: function pointers for performing EPC operations
871 * @owner: the owner of the module that creates the EPC device
872 *
873 * Invoke to create a new EPC device and add it to pci_epc class.
874 */
875 struct pci_epc *
876 __pci_epc_create(struct device *dev, const struct pci_epc_ops *ops,
877 struct module *owner)
878 {
879 int ret;
880 struct pci_epc *epc;
881
882 if (WARN_ON(!dev)) {
883 ret = -EINVAL;
884 goto err_ret;
885 }
886
887 epc = kzalloc(sizeof(*epc), GFP_KERNEL);
888 if (!epc) {
889 ret = -ENOMEM;
890 goto err_ret;
891 }
892
893 mutex_init(&epc->lock);
894 mutex_init(&epc->list_lock);
895 INIT_LIST_HEAD(&epc->pci_epf);
896
897 device_initialize(&epc->dev);
898 epc->dev.class = &pci_epc_class;
899 epc->dev.parent = dev;
900 epc->dev.release = pci_epc_release;
901 epc->ops = ops;
> 902 epc->domain_nr = pci_bus_find_domain_nr(NULL, dev);
903
904 ret = dev_set_name(&epc->dev, "%s", dev_name(dev));
905 if (ret)
906 goto put_dev;
907
908 ret = device_add(&epc->dev);
909 if (ret)
910 goto put_dev;
911
912 epc->group = pci_ep_cfs_add_epc_group(dev_name(dev));
913
914 return epc;
915
916 put_dev:
917 put_device(&epc->dev);
918
919 err_ret:
920 return ERR_PTR(ret);
921 }
922 EXPORT_SYMBOL_GPL(__pci_epc_create);
923
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-07-16 15:42 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 17:33 [PATCH 00/14] PCI: qcom: Simulate PCIe hotplug using 'global' interrupt Manivannan Sadhasivam via B4 Relay
2024-07-15 17:33 ` [PATCH 01/14] PCI: qcom-ep: Drop the redundant masking of global IRQ events Manivannan Sadhasivam via B4 Relay
2024-07-15 19:57 ` Konrad Dybcio
2024-07-15 17:33 ` [PATCH 02/14] PCI: qcom-ep: Reword the error message for receiving unknown global IRQ event Manivannan Sadhasivam via B4 Relay
2024-07-15 19:58 ` Konrad Dybcio
2024-07-15 17:33 ` [PATCH 03/14] dt-bindings: PCI: pci-ep: Update Maintainers Manivannan Sadhasivam via B4 Relay
2024-07-15 17:33 ` [PATCH 04/14] dt-bindings: PCI: pci-ep: Document 'linux,pci-domain' property Manivannan Sadhasivam via B4 Relay
2024-07-15 19:59 ` Konrad Dybcio
2024-07-16 4:05 ` Manivannan Sadhasivam
2024-07-22 23:51 ` Rob Herring
2024-07-15 17:33 ` [PATCH 05/14] dt-bindings: PCI: qcom-ep: Document "linux,pci-domain" property Manivannan Sadhasivam via B4 Relay
2024-07-16 8:41 ` neil.armstrong
2024-07-22 23:50 ` Rob Herring
2024-07-15 17:33 ` [PATCH 06/14] PCI: endpoint: Assign PCI domain number for endpoint controllers Manivannan Sadhasivam via B4 Relay
2024-07-15 20:02 ` Konrad Dybcio
2024-07-16 4:14 ` Manivannan Sadhasivam
2024-07-16 15:41 ` kernel test robot [this message]
2024-07-16 16:47 ` kernel test robot
2024-07-15 17:33 ` [PATCH 07/14] PCI: qcom-ep: Modify 'global_irq' and 'perst_irq' IRQ device names Manivannan Sadhasivam via B4 Relay
2024-07-15 17:33 ` [PATCH 08/14] ARM: dts: qcom: sdx55: Add 'linux,pci-domain' to PCIe EP controller node Manivannan Sadhasivam via B4 Relay
2024-07-15 20:03 ` Konrad Dybcio
2024-07-15 17:33 ` [PATCH 09/14] ARM: dts: qcom: sdx65: " Manivannan Sadhasivam via B4 Relay
2024-07-15 20:03 ` Konrad Dybcio
2024-07-15 17:33 ` [PATCH 10/14] arm64: dts: qcom: sa8775p: Add 'linux,pci-domain' to PCIe EP controller nodes Manivannan Sadhasivam via B4 Relay
2024-07-15 20:04 ` Konrad Dybcio
2024-07-15 17:33 ` [PATCH 11/14] dt-bindings: PCI: qcom: Add 'global' interrupt Manivannan Sadhasivam via B4 Relay
2024-07-15 17:33 ` [PATCH 12/14] dt-bindings: PCI: qcom,pcie-sm8450: " Manivannan Sadhasivam via B4 Relay
2024-07-15 17:33 ` [PATCH 13/14] PCI: qcom: Simulate PCIe hotplug using " Manivannan Sadhasivam via B4 Relay
2024-07-15 20:06 ` Konrad Dybcio
2024-07-16 4:04 ` Krishna Chaitanya Chundru
2024-07-16 4:18 ` Manivannan Sadhasivam
2024-07-16 4:24 ` Krishna Chaitanya Chundru
2024-07-16 5:54 ` Manivannan Sadhasivam
2024-07-16 8:40 ` neil.armstrong
2024-07-16 10:20 ` Manivannan Sadhasivam
2024-07-15 17:33 ` [PATCH 14/14] arm64: dts: qcom: sm8450: Add 'global' interrupt to the PCIe RC node Manivannan Sadhasivam via B4 Relay
2024-07-15 20:10 ` [PATCH 00/14] PCI: qcom: Simulate PCIe hotplug using 'global' interrupt Konrad Dybcio
2024-07-16 3:59 ` Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202407162357.A9pxRKuo-lkp@intel.com \
--to=lkp@intel.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=devnull+manivannan.sadhasivam.linaro.org@kernel.org \
--cc=helgaas@kernel.org \
--cc=kishon@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzk@kernel.org \
--cc=kw@linux.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).