Hi Hannes, I love your patch! Yet something to improve: [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on jejb-scsi/for-next linus/master v6.1-rc6 next-20221124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Hannes-Reinecke/scsi-do-not-put-scsi_common-in-a-separate-module/20221123-213847 base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next patch link: https://lore.kernel.org/r/20221123131801.4409-1-hare%40suse.de patch subject: [PATCH] scsi: do not put scsi_common in a separate module config: arc-randconfig-m041-20221122 compiler: arc-elf-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/7f10f5c8423c80a4a9069fd81733035b88409baf git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Hannes-Reinecke/scsi-do-not-put-scsi_common-in-a-separate-module/20221123-213847 git checkout 7f10f5c8423c80a4a9069fd81733035b88409baf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arc-elf-ld: drivers/target/target_core_transport.o: in function `scsi_command_size': target_core_transport.c:(.text+0x58): undefined reference to `scsi_command_size_tbl' >> arc-elf-ld: target_core_transport.c:(.text+0x58): undefined reference to `scsi_command_size_tbl' arc-elf-ld: drivers/target/target_core_transport.o: in function `translate_sense_reason': target_core_transport.c:(.text+0x4a2): undefined reference to `scsi_build_sense_buffer' >> arc-elf-ld: target_core_transport.c:(.text+0x4a2): undefined reference to `scsi_build_sense_buffer' >> arc-elf-ld: target_core_transport.c:(.text+0x4b2): undefined reference to `scsi_set_sense_information' >> arc-elf-ld: target_core_transport.c:(.text+0x4b2): undefined reference to `scsi_set_sense_information' arc-elf-ld: drivers/target/target_core_spc.o: in function `spc_emulate_request_sense': target_core_spc.c:(.text+0x920): undefined reference to `scsi_build_sense_buffer' >> arc-elf-ld: target_core_spc.c:(.text+0x920): undefined reference to `scsi_build_sense_buffer' arc-elf-ld: drivers/target/target_core_spc.o: in function `spc_emulate_report_luns': target_core_spc.c:(.text+0xf50): undefined reference to `int_to_scsilun' >> arc-elf-ld: target_core_spc.c:(.text+0xf50): undefined reference to `int_to_scsilun' arc-elf-ld: target_core_spc.c:(.text+0xf8e): undefined reference to `int_to_scsilun' arc-elf-ld: target_core_spc.c:(.text+0xf8e): undefined reference to `int_to_scsilun' -- 0-DAY CI Kernel Test Service https://01.org/lkp