lkml.org 
[lkml]   [2021]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-09-17 19:29    [W:0.029 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site