[l1k:smsc95xx_5.17 578/888] panel-sitronix-st7701.c:undefined reference to `spi_sync'
From: kernel test robot
Date: Fri Apr 08 2022 - 21:27:01 EST
tree: https://github.com/l1k/linux smsc95xx_5.17
head: 240f56c27361c195cd502d95aba51c6b8e5b808c
commit: 72c355c6c7656888e6124c1356c3f68cb9cf5b35 [578/888] drm/panel/panel-sitronix-st7701: Support SPI config and RGB data
config: nios2-randconfig-s032-20220408 (https://download.01.org/0day-ci/archive/20220409/202204090901.hb9uqZRT-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/l1k/linux/commit/72c355c6c7656888e6124c1356c3f68cb9cf5b35
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 72c355c6c7656888e6124c1356c3f68cb9cf5b35
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 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 >>):
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `st7701_disable.part.0':
>> panel-sitronix-st7701.c:(.text+0x230): undefined reference to `spi_sync'
panel-sitronix-st7701.c:(.text+0x230): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `st7701_enable.part.0':
panel-sitronix-st7701.c:(.text+0x2a0): undefined reference to `spi_sync'
panel-sitronix-st7701.c:(.text+0x2a0): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `txw210001b0_init_sequence':
panel-sitronix-st7701.c:(.text+0x3a4): undefined reference to `spi_sync'
panel-sitronix-st7701.c:(.text+0x3a4): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
>> nios2-linux-ld: panel-sitronix-st7701.c:(.text+0x408): undefined reference to `spi_sync'
panel-sitronix-st7701.c:(.text+0x408): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
nios2-linux-ld: panel-sitronix-st7701.c:(.text+0x45c): undefined reference to `spi_sync'
panel-sitronix-st7701.c:(.text+0x45c): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o:panel-sitronix-st7701.c:(.text+0x4b0): more undefined references to `spi_sync' follow
drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `txw210001b0_init_sequence':
panel-sitronix-st7701.c:(.text+0x4b0): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
panel-sitronix-st7701.c:(.text+0x500): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
panel-sitronix-st7701.c:(.text+0x54c): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
panel-sitronix-st7701.c:(.text+0x59c): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
panel-sitronix-st7701.c:(.text+0x5ec): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
panel-sitronix-st7701.c:(.text+0x63c): additional relocation overflows omitted from the output
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `st7701_spi_probe':
>> panel-sitronix-st7701.c:(.text+0x116c): undefined reference to `spi_setup'
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `st7701_unprepare':
panel-sitronix-st7701.c:(.text+0x134c): undefined reference to `spi_sync'
nios2-linux-ld: drivers/gpu/drm/panel/panel-sitronix-st7701.o: in function `panel_st7701_init':
>> panel-sitronix-st7701.c:(.init.text+0x18): undefined reference to `__spi_register_driver'
--
0-DAY CI Kernel Test Service
https://01.org/lkp