linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bvanassche:scsi-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd'
@ 2021-09-10 12:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-10 12:43 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: llvm, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2371 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34448 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-10 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 12:43 [bvanassche:scsi-remove-done-callback 17/85] drivers/scsi/aacraid/aachba.c:523:12: error: no member named 'request' in 'struct scsi_cmnd' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).