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

From: kernel test robot
Date: Fri Aug 27 2021 - 02:34:09 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: 85bd616e0f43a20e3c5a0290bcc75e876befcf87
commit: be58a6d2184f996fa51cb83c98426fd634606d63 [3916/9302] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: riscv-randconfig-r042-20210827 (attached as .config)
compiler: riscv32-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=riscv 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 >>):

riscv32-linux-ld: drivers/spi/spi-cadence-quadspi.o: in function `.L0 ':
>> spi-cadence-quadspi.c:(.text+0x21a): 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