* drivers/pci/controller/dwc/pcie-qcom-ep.c:694:9: error: implicit declaration of function 'qcom_pcie_disable_resources'; did you mean 'qcom_pcie_ep_get_resources'?
@ 2022-05-02 13:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-02 13:08 UTC (permalink / raw)
To: Dmitry Baryshkov; +Cc: kbuild-all, linux-kernel, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/UPDATE-20220502-184544/Manivannan-Sadhasivam/PCI-qcom-ep-Move-enable-disable-resources-code-to-common-functions/20220502-124818
head: 9cb459b5dc9b6a7c837726501f453ad78a829d3a
commit: 9cb459b5dc9b6a7c837726501f453ad78a829d3a PCI: qcom-ep: use qcom_pcie_disable_resources() in qcom_pcie_ep_remove()
date: 2 hours ago
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220502/202205022102.2MzCb1qA-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.3.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/intel-lab-lkp/linux/commit/9cb459b5dc9b6a7c837726501f453ad78a829d3a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review UPDATE-20220502-184544/Manivannan-Sadhasivam/PCI-qcom-ep-Move-enable-disable-resources-code-to-common-functions/20220502-124818
git checkout 9cb459b5dc9b6a7c837726501f453ad78a829d3a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/pci/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/pci/controller/dwc/pcie-qcom-ep.c: In function 'qcom_pcie_ep_remove':
>> drivers/pci/controller/dwc/pcie-qcom-ep.c:694:9: error: implicit declaration of function 'qcom_pcie_disable_resources'; did you mean 'qcom_pcie_ep_get_resources'? [-Werror=implicit-function-declaration]
694 | qcom_pcie_disable_resources(pcie_ep);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| qcom_pcie_ep_get_resources
cc1: some warnings being treated as errors
vim +694 drivers/pci/controller/dwc/pcie-qcom-ep.c
686
687 static int qcom_pcie_ep_remove(struct platform_device *pdev)
688 {
689 struct qcom_pcie_ep *pcie_ep = platform_get_drvdata(pdev);
690
691 if (pcie_ep->link_status == QCOM_PCIE_EP_LINK_DISABLED)
692 return 0;
693
> 694 qcom_pcie_disable_resources(pcie_ep);
695
696 return 0;
697 }
698
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-02 13:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 13:08 drivers/pci/controller/dwc/pcie-qcom-ep.c:694:9: error: implicit declaration of function 'qcom_pcie_disable_resources'; did you mean 'qcom_pcie_ep_get_resources'? kernel test robot
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).