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 >>):

   drivers/scsi/aha152x.c: In function 'aha152x_device_reset':
>> drivers/scsi/aha152x.c:1060:30: error: 'SCpnt' undeclared (first use in this 
>> function)
     unsigned char old_cmd_len = SCpnt->cmd_len;
                                 ^~~~~
   drivers/scsi/aha152x.c:1060:30: note: each undeclared identifier is reported 
only once for each function it appears in
   drivers/scsi/aha152x.c: In function 'aha152x_bus_reset':
   drivers/scsi/aha152x.c:1173:9: error: too many arguments to function 
'aha152x_bus_reset_host'
     return aha152x_bus_reset_host(shpnt, channel);
            ^~~~~~~~~~~~~~~~~~~~~~
   drivers/scsi/aha152x.c:1144:12: note: declared here
    static int aha152x_bus_reset_host(struct Scsi_Host *shpnt)
               ^~~~~~~~~~~~~~~~~~~~~~

vim +/SCpnt +1060 drivers/scsi/aha152x.c

^1da177e Linus Torvalds    2005-04-16  1054   */
fb100e8d Hannes Reinecke   2017-06-23  1055  static int 
aha152x_device_reset(struct scsi_device * sdev)
^1da177e Linus Torvalds    2005-04-16  1056  {
fb100e8d Hannes Reinecke   2017-06-23  1057     struct Scsi_Host *shpnt = 
sdev->host;
0f06bb34 Christoph Hellwig 2007-05-13  1058     DECLARE_COMPLETION(done);
^1da177e Linus Torvalds    2005-04-16  1059     int ret, issued, disconnected;
631c228c Christoph Hellwig 2006-07-08 @1060     unsigned char old_cmd_len = 
SCpnt->cmd_len;
^1da177e Linus Torvalds    2005-04-16  1061     unsigned long flags;
0f06bb34 Christoph Hellwig 2007-05-13  1062     unsigned long timeleft;
^1da177e Linus Torvalds    2005-04-16  1063  

:::::: The code at line 1060 was first introduced by commit
:::::: 631c228cd09bd5b93090fa60bd9803ec14aa0586 [SCSI] hide EH backup data 
outside the scsi_cmnd

:::::: TO: Christoph Hellwig <[email protected]>
:::::: CC: James Bottomley <[email protected]>

---
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