* [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'
@ 2021-11-12 7:38 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-12 7:38 UTC (permalink / raw)
To: Hannes Reinecke; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2561 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69180 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [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'
@ 2021-11-12 7:38 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-12 7:38 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69180 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-12 7:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 7:38 [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' kernel test robot
2021-11-12 7:38 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.