linux-next: build failure after merge of the scsi-mkp tree
Subsystems (2)
Hi all,
After merging the scsi-mkp tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
In file included from include/linux/byteorder/big_endian.h:5,
from arch/powerpc/include/uapi/asm/byteorder.h:14,
from include/asm-generic/bitops/le.h:7,
from arch/powerpc/include/asm/bitops.h:265,
from include/linux/bitops.h:33,
from include/linux/kernel.h:12,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/scsi/ibmvscsi/ibmvfc.c:10:drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_queuecommand':drivers/scsi/ibmvscsi/ibmvfc.c:1959:39: error: 'struct scsi_cmnd' has no member named 'tag'
1959 | vfc_cmd->task_tag = cpu_to_be64(cmnd->tag);
| ^~include/uapi/linux/byteorder/big_endian.h:37:51: note: in definition of macro '__cpu_to_be64'
37 | #define __cpu_to_be64(x) ((__force __be64)(__u64)(x))
| ^drivers/scsi/ibmvscsi/ibmvfc.c:1959:23: note: in expansion of macro 'cpu_to_be64'
1959 | vfc_cmd->task_tag = cpu_to_be64(cmnd->tag);
| ^~~~~~~~~~~Caused by commit
c7c43e3c7147 ("scsi: core: Remove scsi_cmnd.tag")
I have used the scsi-mkp tree from next-20210816 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 25 lines · Stephen Rothwell
Hi all,
After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:In file included from
include/linux/byteorder/big_endian.h:5,
fromarch/powerpc/include/uapi/asm/byteorder.h:14,
frominclude/asm-generic/bitops/le.h:7,
fromarch/powerpc/include/asm/bitops.h:265,
frominclude/linux/bitops.h:33,
frominclude/linux/kernel.h:12,
frominclude/linux/list.h:9,
frominclude/linux/module.h:12,
fromdrivers/scsi/ibmvscsi/ibmvfc.c:10:drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_queuecommand':drivers/scsi/ibmvscsi/ibmvfc.c:1959:39: error: 'structscsi_cmnd' has no member named 'tag'
1959 |vfc_cmd->task_tag=cpu_to_be64(cmnd->tag);
| ^~include/uapi/linux/byteorder/big_endian.h:37:51: note: in definition of macro '__cpu_to_be64'37 | #define __cpu_to_be64(x) ((__force __be64)(__u64)(x)) | ^ drivers/scsi/ibmvscsi/ibmvfc.c:1959:23: note: in expansion of macro 'cpu_to_be64' 1959 | vfc_cmd->task_tag = cpu_to_be64(cmnd->tag); | ^~~~~~~~~~~
Quoted 6 lines
Caused by commit
c7c43e3c7147 ("scsi: core: Remove scsi_cmnd.tag")I have used the scsi-mkp tree from next-20210816 for today.
sorry... I only built x86 and arm64 allmodconfig. Let me check this.
Thanks
Quoted 1 line · John Garry
sorry... I only built x86 and arm64 allmodconfig. Let me check this.
Build testing for tree-wide changes is tricky. You may want to use a build bot for such testing. From
https://01.org/lkp/documentation/0-day-test-service:
Q: Which git tree and which mailing list will be tested? How can I opt-in or opt-out from it?
A: 0-Day monitors hundreds of git trees and tens of mailing lists. You can obtain detailed tree and mailing list information from the source code under the lkp-tests/repo directory. If you want to add or remove your tree from the 0-Day test system, send an email to the LKML, specifying your git tree URL.
Bart.
Quoted 6 lines · Bart Van Assche
Quoted 1 line · John Garry
sorry... I only built x86 and arm64 allmodconfig. Let me check this.
Build testing for tree-wide changes is tricky. You may want to use a build bot for such testing. From
https://01.org/lkp/documentation/0-day-test-service:
Quoted 8 lines
Q: Which git tree and which mailing list will be tested? How can I opt-in or opt-out from it?
A: 0-Day monitors hundreds of git trees and tens of mailing lists. You can obtain detailed tree and mailing list information from the source code under the lkp-tests/repo directory. If you want to add or remove your tree from the 0-Day test system, send an email to the LKML, specifying your git tree URL.
Thanks for the info! Quite useful.
Unfortunately there is code which has internal build switches - like qla1280.c and DEBUG_QLA1280, which Martin mentioned - so harder to spot. I suppose that's the risk with internal build switches.
Thanks again,
John