Re: ia64-linux-ld: wcd938x.c:undefined reference to `__devm_regmap_init_sdw'

From: Srinivas Kandagatla
Date: Tue Jul 13 2021 - 11:53:11 EST




On 13/07/2021 16:32, kernel test robot wrote:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7fef2edf7cc753b51f7ccc74993971b0a9c81eca
commit: b90d9398d6ff6f518f352c39176450dbaf99e276 ASoC: codecs: wcd938x: remove incorrect module interdependency
date: 4 weeks ago
config: ia64-randconfig-c004-20210713 (attached as .config)
compiler: ia64-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=b90d9398d6ff6f518f352c39176450dbaf99e276
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b90d9398d6ff6f518f352c39176450dbaf99e276
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

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


Thanks for reporting this,

I already send out a fix for this issue.

--srini
All errors (new ones prefixed by >>):

ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_free':
wcd938x.c:(.text+0x762): undefined reference to `wcd938x_sdw_free'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_hw_params':
wcd938x.c:(.text+0x7f2): undefined reference to `wcd938x_sdw_hw_params'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_codec_set_sdw_stream':
wcd938x.c:(.text+0x882): undefined reference to `wcd938x_sdw_set_sdw_stream'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_tx_swr_ctrl':
wcd938x.c:(.text+0x2a32): undefined reference to `wcd938x_swr_get_current_bank'
ia64-linux-ld: sound/soc/codecs/wcd938x.o: in function `wcd938x_bind':
wcd938x.c:(.text+0x4ff2): undefined reference to `wcd938x_sdw_device_get'
ia64-linux-ld: wcd938x.c:(.text+0x50b2): undefined reference to `wcd938x_sdw_device_get'
ia64-linux-ld: wcd938x.c:(.text+0x5292): undefined reference to `__devm_regmap_init_sdw'

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