mipsel-linux-ld: ingenic-drm-drv.c:undefined reference to `clk_get_parent'
From: kernel test robot
Date: Tue Dec 29 2020 - 10:51:04 EST
Hi Paul,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dea8dcf2a9fa8cc540136a6cd885c3beece16ec3
commit: 33700f6f7d9f6b4e1e6df933ef7fd388889c662c drm/ingenic: Reset pixclock rate when parent clock rate changes
date: 3 months ago
config: mips-randconfig-p001-20201223 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=33700f6f7d9f6b4e1e6df933ef7fd388889c662c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 33700f6f7d9f6b4e1e6df933ef7fd388889c662c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
mipsel-linux-ld: drivers/gpu/drm/ingenic/ingenic-drm-drv.o: in function `ingenic_drm_remove':
ingenic-drm-drv.c:(.text+0x264): undefined reference to `clk_get_parent'
mipsel-linux-ld: drivers/gpu/drm/ingenic/ingenic-drm-drv.o: in function `ingenic_drm_bind.isra.0':
ingenic-drm-drv.c:(.text+0x11c4): undefined reference to `clk_get_parent'
>> mipsel-linux-ld: ingenic-drm-drv.c:(.text+0x1284): undefined reference to `clk_get_parent'
mipsel-linux-ld: drivers/spi/spi-sprd.o: in function `sprd_spi_probe':
spi-sprd.c:(.text+0xba0): undefined reference to `clk_set_parent'
mipsel-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4770_adc_init_clk_div':
ingenic-adc.c:(.text+0xd0): undefined reference to `clk_get_parent'
mipsel-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4725b_adc_init_clk_div':
ingenic-adc.c:(.text+0x1e8): undefined reference to `clk_get_parent'
mipsel-linux-ld: sound/soc/atmel/atmel-i2s.o: in function `atmel_i2s_sama5d2_mck_init':
atmel-i2s.c:(.text+0x564): undefined reference to `clk_set_parent'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip