[ti:ti-rt-linux-5.10.y 3916/6643] ld.lld: error: undefined symbol: spi_mem_exec_op

From: kernel test robot
Date: Wed Jul 07 2021 - 20:06:07 EST


Hi Pratyush,

FYI, the error/warning still remains.

tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.10.y
head: d238e71a2d3157a7faec48d4d3681b537a2e08cc
commit: be58a6d2184f996fa51cb83c98426fd634606d63 [3916/6643] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: x86_64-randconfig-a015-20210707 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.10.y
git checkout be58a6d2184f996fa51cb83c98426fd634606d63
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: spi_mem_exec_op
>>> referenced by spi-cadence-quadspi.c
>>> spi/spi-cadence-quadspi.o:(cqspi_mem_do_calibration) in archive drivers/built-in.a
>>> referenced by spi-cadence-quadspi.c
>>> spi/spi-cadence-quadspi.o:(cqspi_phy_check_pattern) in archive drivers/built-in.a
>>> referenced by spi-cadence-quadspi.c
>>> spi/spi-cadence-quadspi.o:(cqspi_find_rx_low) in archive drivers/built-in.a
>>> referenced 5 more times

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip