[linux-next:master 3089/5418] ld: sound/soc/codecs/cs35l41-spi.c:80: undefined reference to `cs35l41_probe'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   04fe99a8d936d46a310ca61b8b63dc270962bf01
commit: a5e0091d62abb9599d9dea505ec0e8c820001831 [3089/5418] ASoC: cs35l41: Fix link problem
config: x86_64-randconfig-c002-20211207 (https://download.01.org/0day-ci/archive/20211207/202112072303.F8ZAP5vM-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a5e0091d62abb9599d9dea505ec0e8c820001831
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout a5e0091d62abb9599d9dea505ec0e8c820001831
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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

Note: the linux-next/master HEAD 04fe99a8d936d46a310ca61b8b63dc270962bf01 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   vmlinux.o: warning: objtool: exc_nmi()+0x111: call to static_key_count.constprop.0() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_page_fault()+0x44: call to static_key_count() leaves .noinstr.text section
   ld: sound/soc/codecs/cs35l41-spi.o: in function `cs35l41_spi_remove':
   sound/soc/codecs/cs35l41-spi.c:87: undefined reference to `cs35l41_remove'
   ld: sound/soc/codecs/cs35l41-spi.o: in function `cs35l41_spi_probe':
   sound/soc/codecs/cs35l41-spi.c:69: undefined reference to `cs35l41_regmap_spi'
   ld: sound/soc/codecs/cs35l41-spi.c:69: undefined reference to `__devm_regmap_init_spi'
>> ld: sound/soc/codecs/cs35l41-spi.c:80: undefined reference to `cs35l41_probe'
   ld: sound/soc/codecs/cs35l41-spi.o: in function `cs35l41_spi_otp_setup':
   sound/soc/codecs/cs35l41-spi.c:52: undefined reference to `spi_setup'
   ld: sound/soc/codecs/cs35l41-spi.c:46: undefined reference to `spi_setup'
   ld: sound/soc/codecs/cs35l41-spi.o: in function `cs35l41_spi_driver_init':
   sound/soc/codecs/cs35l41-spi.c:120: undefined reference to `__spi_register_driver'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SND_SOC_CS35L41_SPI
   Depends on SOUND && !UML && SND && SND_SOC && SPI_MASTER
   Selected by
   - SND_SOC_AMD_VANGOGH_MACH && SOUND && !UML && SND && SND_SOC && SND_SOC_AMD_ACP5x && I2C

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux