[clk:clk-lmk04832 2/3] clk-lmk04832.c:undefined reference to `spi_get_device_id'

kernel test robot lkp at intel.com
Mon Jun 28 05:19:38 PDT 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-lmk04832
head:   6181baa177d417211ea28de793524ec3d13b256d
commit: 3bc61cfd6f4a57de32132075b15b0ac8987ced1d [2/3] clk: add support for the lmk04832
config: s390-randconfig-c023-20210628 (attached as .config)
compiler: s390-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/clk/linux.git/commit/?id=3bc61cfd6f4a57de32132075b15b0ac8987ced1d
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-lmk04832
        git checkout 3bc61cfd6f4a57de32132075b15b0ac8987ced1d
        # 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=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   s390-linux-ld: drivers/clk/clk-lmk04832.o: in function `lmk04832_check_vco_ranges.isra.0':
>> clk-lmk04832.c:(.text+0x1668): undefined reference to `spi_get_device_id'
   s390-linux-ld: drivers/clk/clk-lmk04832.o: in function `lmk04832_probe':
   clk-lmk04832.c:(.text+0x198c): undefined reference to `spi_get_device_id'
   s390-linux-ld: drivers/clk/clk-lmk04832.o: in function `lmk04832_driver_init':
>> clk-lmk04832.c:(.init.text+0x5e): undefined reference to `__spi_register_driver'
   s390-linux-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
   idma64.c:(.text+0xe90): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
   hidma.c:(.text+0x1484): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: hidma.c:(.text+0x14ca): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_read':
   regmap-spi.c:(.text+0x42): undefined reference to `spi_write_then_read'
   s390-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_async_write':
   regmap-spi.c:(.text+0x172): undefined reference to `spi_async'
   s390-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_gather_write':
   regmap-spi.c:(.text+0x224): undefined reference to `spi_sync'
   s390-linux-ld: drivers/base/regmap/regmap-spi.o: in function `spi_sync_transfer.constprop.0':
   regmap-spi.c:(.text+0x2a6): undefined reference to `spi_sync'
   s390-linux-ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
   samsung-keypad.c:(.text+0x620): undefined reference to `devm_ioremap'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for REGMAP_SPI
   Depends on SPI
   Selected by
   - LMK04832 && COMMON_CLK

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 13025 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210628/6a3fbec4/attachment-0001.gz>


More information about the linux-arm-kernel mailing list