[jsarha:topic/cros-sof-v4.14-rebase 2947/9999] spi-geni-qcom.c:undefined reference to `clk_set_rate'

From: kernel test robot
Date: Mon Sep 12 2022 - 12:41:50 EST


Hi Girish,

FYI, the error/warning still remains.

tree: https://github.com/jsarha/linux topic/cros-sof-v4.14-rebase
head: 18a233f3f676a98dde00947535d99ab1a54da340
commit: a756d02d5a186df7e64256ae3146f040b71f23cb [2947/9999] FROMLIST: spi: spi-geni-qcom: Add SPI driver support for GENI based QUP
config: m68k-randconfig-r034-20220911 (https://download.01.org/0day-ci/archive/20220913/202209130045.TEZuG612-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 7.5.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
# https://github.com/jsarha/linux/commit/a756d02d5a186df7e64256ae3146f040b71f23cb
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha topic/cros-sof-v4.14-rebase
git checkout a756d02d5a186df7e64256ae3146f040b71f23cb
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

drivers/soc/qcom/qcom-geni-se.o: In function `geni_se_clk_tbl_get':
qcom-geni-se.c:(.text+0x7e2): undefined reference to `clk_round_rate'
drivers/tty/serial/8250/8250_dw.o: In function `dw8250_set_termios':
8250_dw.c:(.text+0x3da): undefined reference to `clk_round_rate'
8250_dw.c:(.text+0x3f0): undefined reference to `clk_set_rate'
drivers/tty/serial/qcom_geni_serial.o: In function `qcom_geni_serial_set_termios':
qcom_geni_serial.c:(.text+0xa52): undefined reference to `clk_set_rate'
drivers/tty/serial/mxs-auart.o: In function `mxs_auart_probe':
mxs-auart.c:(.text+0x60a): undefined reference to `clk_set_rate'
drivers/tty/serial/owl-uart.o: In function `owl_uart_set_termios':
owl-uart.c:(.text+0x60c): undefined reference to `clk_set_rate'
drivers/spi/spi-geni-qcom.o: In function `get_spi_clk_cfg':
>> spi-geni-qcom.c:(.text+0x5e2): undefined reference to `clk_set_rate'
drivers/spi/spi-sun4i.o:spi-sun4i.c:(.text+0x2a8): more undefined references to `clk_set_rate' follow
drivers/media/v4l2-core/v4l2-clk.o: In function `v4l2_clk_set_rate':
v4l2-clk.c:(.text+0x37a): undefined reference to `clk_round_rate'
v4l2-clk.c:(.text+0x38c): undefined reference to `clk_set_rate'

--
0-DAY CI Kernel Test Service
https://01.org/lkp