2022-02-22 06:53:04

by kernel test robot

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

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/[email protected]/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 <[email protected]>

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/[email protected]


2022-02-22 09:15:09

by John Garry

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

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/[email protected]/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 <[email protected]>
>
> 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/[email protected]
> .

2022-02-22 12:01:03

by Damien Le Moal

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

On 2/22/22 18:10, John Garry wrote:
> 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).

May be just send an incremental patch on top of yours+my series ? But I
doubt there will be a conflict anyway.

>
> 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/[email protected]/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 <[email protected]>
>>
>> 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/[email protected]
>> .
>


--
Damien Le Moal
Western Digital Research

2022-02-22 12:01:34

by John Garry

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

On 22/02/2022 11:28, Damien Le Moal wrote:
>> 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).
> May be just send an incremental patch on top of yours+my series ? But I
> doubt there will be a conflict anyway.
>

It's actually just the last patch in my series which is the problem, so
that could make things easier. I have the v3 series ready with the fix
(apart from more randconfig builds) so I can just send that. Or, if
Martin, wants an incremental fix, I can send that also.

Thanks,
John