[ti:ti-rt-linux-5.10.y 3916/10202] spi-cadence-quadspi.c:undefined reference to `spi_mem_exec_op'

From: kernel test robot
Date: Wed Nov 17 2021 - 21:04:49 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: 32e3d14cc3f415c3584c2bee63f8deb454138321
commit: be58a6d2184f996fa51cb83c98426fd634606d63 [3916/10202] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: arm64-buildonly-randconfig-r001-20211117 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.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
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=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 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 >>):

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/spi/spi-cadence-quadspi.o: in function `cqspi_phy_check_pattern':
>> spi-cadence-quadspi.c:(.text+0x310): undefined reference to `spi_mem_exec_op'

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

Attachment: .config.gz
Description: application/gzip