[linux-next:master 6160/10463] ad9739a.c:undefined reference to `__spi_register_driver'

[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:   9c6ecb3cb6e20c4fd7997047213ba0efcf9ada1a
commit: e77603d5468b9093c111a998a86604e21a9e7f48 [6160/10463] iio: dac: support the ad9739a RF DAC
config: nios2-randconfig-001-20240503 (https://download.01.org/0day-ci/archive/20240503/202405030706.7EBRJDrD-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405030706.7EBRJDrD-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405030706.7EBRJDrD-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   nios2-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_read':
>> regmap-spi.c:(.text+0x1a8): undefined reference to `spi_write_then_read'
>> regmap-spi.c:(.text+0x1a8): relocation truncated to fit: R_NIOS2_CALL26 against `spi_write_then_read'
   nios2-linux-ld: drivers/base/regmap/regmap-spi.o: in function `spi_sync_transfer.constprop.0':
>> regmap-spi.c:(.text+0x330): undefined reference to `spi_sync'
>> regmap-spi.c:(.text+0x330): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
   nios2-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_gather_write':
   regmap-spi.c:(.text+0x4c0): undefined reference to `spi_sync'
   regmap-spi.c:(.text+0x4c0): relocation truncated to fit: R_NIOS2_CALL26 against `spi_sync'
   nios2-linux-ld: drivers/base/regmap/regmap-spi.o: in function `regmap_spi_async_write':
>> regmap-spi.c:(.text+0x598): undefined reference to `spi_async'
>> regmap-spi.c:(.text+0x598): relocation truncated to fit: R_NIOS2_CALL26 against `spi_async'
   nios2-linux-ld: drivers/iio/dac/ad9739a.o: in function `ad9739a_driver_init':
>> ad9739a.c:(.init.text+0x14): undefined reference to `__spi_register_driver'
>> ad9739a.c:(.init.text+0x14): relocation truncated to fit: R_NIOS2_CALL26 against `__spi_register_driver'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for REGMAP_SPI
   Depends on [n]: SPI [=n]
   Selected by [y]:
   - AD9739A [=y] && IIO [=y] && (SPI [=n] || COMPILE_TEST [=y])

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[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