Re: [PATCH 2/3] scsi_dh_emc: switch to scsi_execute_req_flags()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hannes,

[auto build test ERROR on scsi/for-next]
[also build test ERROR on v4.9-rc3 next-20161028]
[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_dh-switch-to-scsi_execute_req_flags/20161103-212623
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: i386-randconfig-i0-201644 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/scsi/device_handler/scsi_dh_emc.c: In function 'trespass_endio':
   drivers/scsi/device_handler/scsi_dh_emc.c:133:61: warning: statement with no effect [-Wunused-value]
     } else if (sshdr->sense_key == 0x02 && sshdr->asc == 0x04) &&
                                                                ^
>> drivers/scsi/device_handler/scsi_dh_emc.c:134:11: error: expected ';' before '->' token
         sshdr->ascq == 0x03) {
              ^
>> drivers/scsi/device_handler/scsi_dh_emc.c:134:25: error: expected statement before ')' token
         sshdr->ascq == 0x03) {
                            ^
>> drivers/scsi/device_handler/scsi_dh_emc.c:143:4: error: 'else' without a previous 'if'
     } else
       ^
>> drivers/scsi/device_handler/scsi_dh_emc.c:134:6: error: label 'sshdr' used but not defined
         sshdr->ascq == 0x03) {
         ^

vim +134 drivers/scsi/device_handler/scsi_dh_emc.c

   127			 * mode_select or copy will be aborted mid-stream.
   128			 */
   129			sdev_printk(KERN_INFO, sdev, "%s: Array Based Copy in "
   130				    "progress while sending CLARiiON trespass "
   131				    "command.\n", CLARIION_NAME);
   132			err = SCSI_DH_DEV_TEMP_BUSY;
 > 133		} else if (sshdr->sense_key == 0x02 && sshdr->asc == 0x04) &&
 > 134			   sshdr->ascq == 0x03) {
   135			/*
   136			 * LUN Not Ready - Manual Intervention Required
   137			 * indicates in-progress ucode upgrade (NDU).
   138			 */
   139			sdev_printk(KERN_INFO, sdev, "%s: Detected in-progress "
   140				    "ucode upgrade NDU operation while sending "
   141				    "CLARiiON trespass command.\n", CLARIION_NAME);
   142			err = SCSI_DH_DEV_TEMP_BUSY;
 > 143		} else
   144			err = SCSI_DH_DEV_FAILED;
   145		return err;
   146	}

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

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux