lkml.org 
[lkml]   [2021]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[hare-scsi-devel:scsi-private.v2 12/21] drivers/scsi/aacraid/aachba.c:850:16: error: 'struct scsi_cmnd' has no member named 'scsi_done'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git scsi-private.v2
head: 915b986531e666d840f72752c597fb6b4ea69d35
commit: 3747ba8b2652333b653ce8d42cfe4c3c27fe9d6e [12/21] aacraid: store target id in host_scribble
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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/hare/scsi-devel.git/commit/?id=3747ba8b2652333b653ce8d42cfe4c3c27fe9d6e
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel scsi-private.v2
git checkout 3747ba8b2652333b653ce8d42cfe4c3c27fe9d6e
# 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=arc SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

drivers/scsi/aacraid/aachba.c: In function 'aac_probe_container':
>> drivers/scsi/aacraid/aachba.c:850:16: error: 'struct scsi_cmnd' has no member named 'scsi_done'
850 | scsicmd->scsi_done = aac_probe_container_scsi_done;
| ^~


vim +850 drivers/scsi/aacraid/aachba.c

838
839 int aac_probe_container(struct aac_dev *dev, int cid)
840 {
841 struct scsi_cmnd *scsicmd = kzalloc(sizeof(*scsicmd), GFP_KERNEL);
842 struct scsi_device *scsidev = kzalloc(sizeof(*scsidev), GFP_KERNEL);
843 int status;
844
845 if (!scsicmd || !scsidev) {
846 kfree(scsicmd);
847 kfree(scsidev);
848 return -ENOMEM;
849 }
> 850 scsicmd->scsi_done = aac_probe_container_scsi_done;
851 scsicmd->host_scribble = (unsigned char *)&cid;
852
853 scsicmd->device = scsidev;
854 scsidev->sdev_state = 0;
855 scsidev->id = cid;
856 scsidev->host = dev->scsi_host_ptr;
857
858 if (_aac_probe_container(scsicmd, aac_probe_container_callback1) == 0)
859 while (scsicmd->host_scribble == (unsigned char *)&cid)
860 schedule();
861 kfree(scsidev);
862 status = scsicmd->SCp.Status;
863 kfree(scsicmd);
864 return status;
865 }
866

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-12 08:39    [W:0.033 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site