From: kernel test robot <lkp@intel.com>
To: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Subject: [rmk-arm:cex7 2/61] drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c:227:3: error: implicit declaration of function 'ls_pcie_g4_lut_writel'
Date: Sat, 18 Sep 2021 01:27:08 +0800 [thread overview]
Message-ID: <202109180156.uSEqmUJr-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2636 bytes --]
tree: git://git.armlinux.org.uk/~rmk/linux-arm cex7
head: 283e53483ea0458587598d170178e3b020c523bc
commit: 62d977eee018e5f6328fadb98f89f1f10d802c0e [2/61] PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577
config: arm64-randconfig-r032-20210916 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm
git fetch --no-tags rmk-arm cex7
git checkout 62d977eee018e5f6328fadb98f89f1f10d802c0e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
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/mobiveil/pcie-layerscape-gen4.c:227:3: error: implicit declaration of function 'ls_pcie_g4_lut_writel' [-Werror,-Wimplicit-function-declaration]
ls_pcie_g4_lut_writel(pcie, PCIE_LUT_GCR,
^
drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c:227:3: note: did you mean 'ls_pcie_g4_pf_writel'?
drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c:56:20: note: 'ls_pcie_g4_pf_writel' declared here
static inline void ls_pcie_g4_pf_writel(struct ls_pcie_g4 *pcie,
^
1 error generated.
vim +/ls_pcie_g4_lut_writel +227 drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c
218
219 static int ls_pcie_g4_read_other_conf(struct pci_bus *bus, unsigned int devfn,
220 int where, int size, u32 *val)
221 {
222 struct mobiveil_pcie *pci = bus->sysdata;
223 struct ls_pcie_g4 *pcie = to_ls_pcie_g4(pci);
224 int ret;
225
226 if (pcie->rev == REV_1_0 && where == PCI_VENDOR_ID)
> 227 ls_pcie_g4_lut_writel(pcie, PCIE_LUT_GCR,
228 0 << PCIE_LUT_GCR_RRE);
229
230 ret = pci_generic_config_read(bus, devfn, where, size, val);
231
232 if (pcie->rev == REV_1_0 && where == PCI_VENDOR_ID)
233 ls_pcie_g4_lut_writel(pcie, PCIE_LUT_GCR,
234 1 << PCIE_LUT_GCR_RRE);
235
236 return ret;
237 }
238
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33258 bytes --]
reply other threads:[~2021-09-17 17:28 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=202109180156.uSEqmUJr-lkp@intel.com \
--to=lkp@intel.com \
--cc=Zhiqiang.Hou@nxp.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=rmk+kernel@armlinux.org.uk \
/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).