[bvanassche:scsi-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:17: error: 'struct scsi_cmnd' has no member named 'request'
From: kernel test robot
Date: Fri Sep 10 2021 - 03:56:25 EST
tree: https://github.com/bvanassche/linux scsi-remove-done-callback
head: 8bedc411325739a6dcbe565b45c04ad9f6ff1871
commit: cae50990aff05541e946e7779e47442aaae2d59f [17/85] aacraid: Call scsi_done() directly
config: s390-randconfig-r044-20210910 (attached as .config)
compiler: s390-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://github.com/bvanassche/linux/commit/cae50990aff05541e946e7779e47442aaae2d59f
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-remove-done-callback
git checkout cae50990aff05541e946e7779e47442aaae2d59f
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash drivers/scsi/aacraid/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
drivers/scsi/aacraid/aachba.c: In function 'aac_scsi_done':
>> drivers/scsi/aacraid/aachba.c:523:17: error: 'struct scsi_cmnd' has no member named 'request'
523 | if (scmd->request) {
| ^~
vim +523 drivers/scsi/aacraid/aachba.c
520
521 static void aac_scsi_done(struct scsi_cmnd *scmd)
522 {
> 523 if (scmd->request) {
524 /* SCSI command has been submitted by the SCSI mid-layer. */
525 scsi_done(scmd);
526 } else {
527 /* SCSI command has been submitted by aac_probe_container(). */
528 aac_probe_container_scsi_done(scmd);
529 }
530 }
531
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip