From: kernel test robot <lkp@intel.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
0day robot <lkp@intel.com>
Subject: 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'?
Date: Mon, 2 May 2022 21:08:04 +0800 [thread overview]
Message-ID: <202205022102.2MzCb1qA-lkp@intel.com> (raw)
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
reply other threads:[~2022-05-02 13:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202205022102.2MzCb1qA-lkp@intel.com \
--to=lkp@intel.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®