All of lore.kernel.org
 help / color / mirror / Atom feed
* [bvanassche:scsi-remove-done-callback 83/83] drivers/scsi/ncr53c8xx.c:8039:9: error: 'struct scsi_cmnd' has no member named 'scsi_done'
@ 2021-04-26  6:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-26  6:14 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/bvanassche/linux scsi-remove-done-callback
head:   0fcbd84b06fef935eeac38e0677f03ddbc69cab0
commit: 0fcbd84b06fef935eeac38e0677f03ddbc69cab0 [83/83] Remove the scsi_done member from struct scsi_cmnd
config: parisc-defconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.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://github.com/bvanassche/linux/commit/0fcbd84b06fef935eeac38e0677f03ddbc69cab0
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-remove-done-callback
        git checkout 0fcbd84b06fef935eeac38e0677f03ddbc69cab0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=parisc 

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/ncr53c8xx.c: In function 'ncr53c8xx_queue_command_lck':
>> drivers/scsi/ncr53c8xx.c:8039:9: error: 'struct scsi_cmnd' has no member named 'scsi_done'
    8039 |      cmd->scsi_done     = done;
         |         ^~


vim +8039 drivers/scsi/ncr53c8xx.c

^1da177e4c3f41 Linus Torvalds  2005-04-16  8038  
^1da177e4c3f41 Linus Torvalds  2005-04-16 @8039       cmd->scsi_done     = done;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8040       cmd->host_scribble = NULL;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8041       cmd->__data_mapped = 0;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8042       cmd->__data_mapping = 0;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8043  
^1da177e4c3f41 Linus Torvalds  2005-04-16  8044       spin_lock_irqsave(&np->smp_lock, flags);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8045  
^1da177e4c3f41 Linus Torvalds  2005-04-16  8046       if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
3ae0819079f2a9 Hannes Reinecke 2021-01-25  8047  	     set_host_byte(cmd, sts);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8048  #ifdef DEBUG_NCR53C8XX
^1da177e4c3f41 Linus Torvalds  2005-04-16  8049  printk("ncr53c8xx : command not queued - result=%d\n", sts);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8050  #endif
^1da177e4c3f41 Linus Torvalds  2005-04-16  8051       }
^1da177e4c3f41 Linus Torvalds  2005-04-16  8052  #ifdef DEBUG_NCR53C8XX
^1da177e4c3f41 Linus Torvalds  2005-04-16  8053       else
^1da177e4c3f41 Linus Torvalds  2005-04-16  8054  printk("ncr53c8xx : command successfully queued\n");
^1da177e4c3f41 Linus Torvalds  2005-04-16  8055  #endif
^1da177e4c3f41 Linus Torvalds  2005-04-16  8056  
^1da177e4c3f41 Linus Torvalds  2005-04-16  8057       spin_unlock_irqrestore(&np->smp_lock, flags);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8058  
^1da177e4c3f41 Linus Torvalds  2005-04-16  8059       if (sts != DID_OK) {
^1da177e4c3f41 Linus Torvalds  2005-04-16  8060            unmap_scsi_data(np, cmd);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8061            done(cmd);
^1da177e4c3f41 Linus Torvalds  2005-04-16  8062  	  sts = 0;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8063       }
^1da177e4c3f41 Linus Torvalds  2005-04-16  8064  
^1da177e4c3f41 Linus Torvalds  2005-04-16  8065       return sts;
^1da177e4c3f41 Linus Torvalds  2005-04-16  8066  }
^1da177e4c3f41 Linus Torvalds  2005-04-16  8067  

:::::: The code at line 8039 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
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: 18424 bytes --]

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

only message in thread, other threads:[~2021-04-26  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26  6:14 [bvanassche:scsi-remove-done-callback 83/83] drivers/scsi/ncr53c8xx.c:8039:9: error: 'struct scsi_cmnd' has no member named 'scsi_done' 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.