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]
Date:   Fri, 10 Sep 2021 20:43:09 +0800
From:   kernel test robot <lkp@...el.com>
To:     Bart Van Assche <bvanassche@....org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [bvanassche:scsi-remove-done-callback 17/85]
 drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in
 'struct scsi_cmnd'

tree:   https://github.com/bvanassche/linux scsi-remove-done-callback
head:   8bedc411325739a6dcbe565b45c04ad9f6ff1871
commit: cae50990aff05541e946e7779e47442aaae2d59f [17/85] aacraid: Call scsi_done() directly
config: x86_64-randconfig-a005-20210910 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/scsi/aacraid/

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:523:12: error: no member named 'request' in 'struct scsi_cmnd'
           if (scmd->request) {
               ~~~~  ^
   drivers/scsi/aacraid/aachba.c:2236:38: warning: shift count >= width of type [-Wshift-count-overflow]
                   if (!dma_set_mask(&dev->pdev->dev, DMA_BIT_MASK(64))) {
                                                      ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
   #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
                                                        ^ ~~~
   1 warning and 1 error generated.


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@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ