Hi Hannes,

[auto build test ERROR on mkp-scsi/for-next]
[also build test ERROR on next-20170623]
[cannot apply to v4.12-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Hannes-Reinecke/SCSI-EH-argument-reshuffling/20170624-071433
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
config: i386-randconfig-x004-201725 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/scsi/53c700.c:140:0:
   drivers/scsi/53c700.c: In function 'NCR_700_host_reset':
>> drivers/scsi/53c700.c:1980:26: error: 'shost' undeclared (first use in this 
>> function)
     shost_printk(KERN_INFO, shost, "SCSI EH wants HOST reset\n\t");
                             ^
   include/scsi/scsi_host.h:747:23: note: in definition of macro 'shost_printk'
     dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a)
                          ^~~~~
   drivers/scsi/53c700.c:1980:26: note: each undeclared identifier is reported 
only once for each function it appears in
     shost_printk(KERN_INFO, shost, "SCSI EH wants HOST reset\n\t");
                             ^
   include/scsi/scsi_host.h:747:23: note: in definition of macro 'shost_printk'
     dev_printk(prefix, &(shost)->shost_gendev, fmt, ##a)
                          ^~~~~
--
   drivers/scsi/sym53c416.c: In function 'sym53c416_info':
   drivers/scsi/sym53c416.c:723:6: warning: unused variable 'i' 
[-Wunused-variable]
     int i;
         ^
   drivers/scsi/sym53c416.c: At top level:
>> drivers/scsi/sym53c416.c:762:12: error: conflicting types for 
>> 'sym53c416_host_reset'
    static int sym53c416_host_reset(struct Scsi_Host *SChost)
               ^~~~~~~~~~~~~~~~~~~~
   In file included from drivers/scsi/sym53c416.c:45:0:
   drivers/scsi/sym53c416.h:29:12: note: previous declaration of 
'sym53c416_host_reset' was here
    static int sym53c416_host_reset(Scsi_Cmnd *);
               ^~~~~~~~~~~~~~~~~~~~
   drivers/scsi/sym53c416.c: In function 'sym53c416_host_reset':
   drivers/scsi/sym53c416.c:766:6: warning: unused variable 'i' 
[-Wunused-variable]
     int i;
         ^

vim +/shost +1980 drivers/scsi/53c700.c

  1974          return SUCCESS;
  1975  }
  1976  
  1977  STATIC int
  1978  NCR_700_host_reset(struct Scsi_Host * host)
  1979  {
> 1980          shost_printk(KERN_INFO, shost, "SCSI EH wants HOST reset\n\t");
  1981  
  1982          spin_lock_irq(host->host_lock);
  1983  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to