drivers/scsi/esp_scsi.c:(.text.scsi_esp_register+0x2ac): undefined reference to `scsi_add_host_with_dma'
From: kernel test robot
Date: Sun Feb 11 2024 - 09:42:10 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7521f258ea303c827434c101884b62a2b137a942
commit: 7b4537199a4a8480b8c3ba37a2d44765ce76cd9b kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS
date: 1 year, 9 months ago
config: mips-randconfig-r005-20220616 (https://download.01.org/0day-ci/archive/20240211/202402112222.Gl0udKyU-lkp@xxxxxxxxx/config)
compiler: mips64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240211/202402112222.Gl0udKyU-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/202402112222.Gl0udKyU-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_setsync':
drivers/scsi/esp_scsi.c:(.text.esp_setsync+0x198): undefined reference to `spi_display_xfer_agreement'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_msgin_extended':
drivers/scsi/esp_scsi.c:(.text.esp_msgin_extended+0x120): undefined reference to `spi_populate_sync_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_msgin_extended+0x2f4): undefined reference to `spi_populate_sync_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `scsi_esp_register':
>> drivers/scsi/esp_scsi.c:(.text.scsi_esp_register+0x2ac): undefined reference to `scsi_add_host_with_dma'
>> mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.scsi_esp_register+0x2d0): undefined reference to `scsi_scan_host'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `scsi_esp_unregister':
>> drivers/scsi/esp_scsi.c:(.text.scsi_esp_unregister+0x2c): undefined reference to `scsi_remove_host'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `dev_to_shost':
drivers/scsi/esp_scsi.c:(.text.dev_to_shost+0x18): undefined reference to `scsi_is_host_device'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_slave_configure':
drivers/scsi/esp_scsi.c:(.text.esp_slave_configure+0x4c): undefined reference to `scsi_change_queue_depth'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_slave_configure+0x90): undefined reference to `spi_dv_device'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_init':
drivers/scsi/esp_scsi.c:(.init.text+0x24): undefined reference to `spi_attach_transport'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_data_bytes_sent':
drivers/scsi/esp_scsi.c:(.text.esp_data_bytes_sent+0x284): undefined reference to `scsi_kmap_atomic_sg'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_data_bytes_sent+0x2a8): undefined reference to `scsi_kunmap_atomic_sg'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_unmap_dma.isra.0':
drivers/scsi/esp_scsi.c:(.text.esp_unmap_dma.isra.0+0x3c): undefined reference to `scsi_dma_unmap'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_reset_cleanup':
drivers/scsi/esp_scsi.c:(.text.esp_reset_cleanup+0xe8): undefined reference to `__starget_for_each_device'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_reset_cleanup+0x158): undefined reference to `scsi_done'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_reset_cleanup+0x1ec): undefined reference to `scsi_done'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_eh_abort_handler':
drivers/scsi/esp_scsi.c:(.text.esp_eh_abort_handler+0x190): undefined reference to `scsi_done'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_reconnect':
drivers/scsi/esp_scsi.c:(.text.esp_reconnect+0xe4): undefined reference to `__scsi_device_lookup_by_target'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_msgin_process':
drivers/scsi/esp_scsi.c:(.text.esp_msgin_process+0x290): undefined reference to `spi_populate_sync_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_maybe_execute_command.part.0':
drivers/scsi/esp_scsi.c:(.text.esp_maybe_execute_command.part.0+0xd4): undefined reference to `spi_populate_tag_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_maybe_execute_command.part.0+0x638): undefined reference to `scsi_dma_map'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_maybe_execute_command.part.0+0x6c4): undefined reference to `spi_populate_width_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.c:(.text.esp_maybe_execute_command.part.0+0x728): undefined reference to `spi_populate_sync_msg'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_cmd_is_done':
drivers/scsi/esp_scsi.c:(.text.esp_cmd_is_done+0x178): undefined reference to `scsi_done'
mips64-linux-ld: drivers/scsi/esp_scsi.o: in function `esp_process_event':
drivers/scsi/esp_scsi.c:(.text.esp_process_event+0x884): undefined reference to `scsi_track_queue_full'
mips64-linux-ld: drivers/scsi/jazz_esp.o: in function `esp_jazz_probe':
drivers/scsi/jazz_esp.c:(.text.esp_jazz_probe+0x34): undefined reference to `scsi_host_alloc'
mips64-linux-ld: drivers/scsi/jazz_esp.c:(.text.esp_jazz_probe+0x94): undefined reference to `scsi_host_put'
mips64-linux-ld: drivers/scsi/jazz_esp.o: in function `esp_jazz_remove':
drivers/scsi/jazz_esp.c:(.text.esp_jazz_remove+0x5c): undefined reference to `scsi_host_put'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki