linux-next: build failure after merge of the scsi-mkp tree
Hi all,
After merging the scsi-mkp tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
drivers/scsi/cxlflash/superpipe.c: In function 'read_cap16':drivers/scsi/cxlflash/superpipe.c:364:65: error: incompatible type for argument 8 of 'scsi_execute_cmd'
364 | CMD_BUFSIZE, to, CMD_RETRIES, exec_args);
| ^~~~~~~~~
| |
| struct scsi_exec_args
In file included from include/scsi/scsi_cmnd.h:12,
from drivers/scsi/cxlflash/superpipe.c:20:
include/scsi/scsi_device.h:471:51: note: expected 'const struct scsi_exec_args *' but argument is of type 'struct scsi_exec_args'
471 | const struct scsi_exec_args *args);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~Caused by commit
606375f1a869 ("scsi: cxlflash: Convert to scsi_execute_cmd()")
I have used the scsi-mkp tree from next-20230113 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Hi all,
After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
drivers/scsi/cxlflash/superpipe.c: In function 'read_cap16':drivers/scsi/cxlflash/superpipe.c:364:65: error: incompatible type for argument 8 of 'scsi_execute_cmd'
364 |CMD_BUFSIZE, to,CMD_RETRIES,exec_args);
| ^~~~~~~~~
Sorry and thanks. I'll send an updated patchset.
Mike,
Quoted 1 line
Sorry and thanks. I'll send an updated patchset.
Please just send a patch that I can fold in. Thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering