lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111121524.ZLMvnWgY-lkp@intel.com>
Date:   Fri, 12 Nov 2021 15:38:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hannes Reinecke <hare@...e.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
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@...el.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

Download attachment ".config.gz" of type "application/gzip" (69180 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ