Re: [mkp-scsi:for-next 93/154] hisi_sas_main.c:undefined reference to `sas_execute_ata_cmd'

From: John Garry
Date: Tue Feb 22 2022 - 04:10:44 EST


On 22/02/2022 06:52, kernel test robot wrote:

Hi Martin,

Sorry about this. I'm missing a stub function. It is straightforward to fix.

Shall I just resend based on 5.18/scsi-queue?

I'm not sure where that leaves Damien's series.. it just seems easier to try to take mine again first as Damien's would need to be rebased again (if not based on mine).

Thanks,
John

tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head: 2988062985d598d6871f47cb8eb70318af5b5b2d
commit: 13685dfbad9831580335dc6e2f7a3be14b769686 [93/154] scsi: libsas: Add sas_execute_ata_cmd()
config: ia64-buildonly-randconfig-r002-20220221 (https://download.01.org/0day-ci/archive/20220222/202202221427.OvZeGfzt-lkp@xxxxxxxxx/config)
compiler: ia64-linux-gcc (GCC) 11.2.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/mkp/scsi.git/commit/?id=13685dfbad9831580335dc6e2f7a3be14b769686
git remote add mkp-scsi https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
git fetch --no-tags mkp-scsi for-next
git checkout 13685dfbad9831580335dc6e2f7a3be14b769686
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

ia64-linux-ld: drivers/scsi/hisi_sas/hisi_sas_main.o: in function `hisi_sas_softreset_ata_disk':
hisi_sas_main.c:(.text+0x42f2): undefined reference to `sas_execute_ata_cmd'
ia64-linux-ld: hisi_sas_main.c:(.text+0x44a2): undefined reference to `sas_execute_ata_cmd'
ia64-linux-ld: hisi_sas_main.c:(.text+0x45e2): undefined reference to `sas_execute_ata_cmd'
ia64-linux-ld: hisi_sas_main.c:(.text+0x4732): undefined reference to `sas_execute_ata_cmd'

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