Re: [PATCHv2 05/22] scsi_dh_alua: switch to scsi_execute_req_flags()

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

 



Hi Hannes,

[auto build test WARNING on scsi/for-next]
[also build test WARNING on next-20160112]
[cannot apply to v4.4]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Hannes-Reinecke/ALUA-device-handler-update-part-II/20160112-234244
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: s390-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All warnings (new ones prefixed by >>):

   drivers/scsi/device_handler/scsi_dh_alua.c: In function 'alua_rtpg':
>> drivers/scsi/device_handler/scsi_dh_alua.c:478:1: warning: 'alua_rtpg' uses dynamic stack allocation
    }
    ^
   drivers/scsi/device_handler/scsi_dh_alua.c: In function 'alua_activate':
   drivers/scsi/device_handler/scsi_dh_alua.c:634:1: warning: 'alua_activate' uses dynamic stack allocation
    }
    ^

vim +/alua_rtpg +478 drivers/scsi/device_handler/scsi_dh_alua.c

a8e5a2d5 Stewart, Sean   2013-10-15  462  			err = SCSI_DH_OK;
a8e5a2d5 Stewart, Sean   2013-10-15  463  		}
a8e5a2d5 Stewart, Sean   2013-10-15  464  
a8e5a2d5 Stewart, Sean   2013-10-15  465  		/* Transitioning time exceeded, set port to standby */
69723d17 Hannes Reinecke 2010-09-24  466  		h->state = TPGS_STATE_STANDBY;
057ea7c9 Hannes Reinecke 2008-07-17  467  		break;
057ea7c9 Hannes Reinecke 2008-07-17  468  	case TPGS_STATE_OFFLINE:
e47f8976 Bart Van Assche 2012-08-24  469  		/* Path unusable */
057ea7c9 Hannes Reinecke 2008-07-17  470  		err = SCSI_DH_DEV_OFFLINED;
057ea7c9 Hannes Reinecke 2008-07-17  471  		break;
057ea7c9 Hannes Reinecke 2008-07-17  472  	default:
057ea7c9 Hannes Reinecke 2008-07-17  473  		/* Useable path if active */
057ea7c9 Hannes Reinecke 2008-07-17  474  		err = SCSI_DH_OK;
69723d17 Hannes Reinecke 2010-09-24  475  		break;
057ea7c9 Hannes Reinecke 2008-07-17  476  	}
057ea7c9 Hannes Reinecke 2008-07-17  477  	return err;
057ea7c9 Hannes Reinecke 2008-07-17 @478  }
057ea7c9 Hannes Reinecke 2008-07-17  479  
057ea7c9 Hannes Reinecke 2008-07-17  480  /*
d8af10dc Hannes Reinecke 2016-01-12  481   * alua_stpg - Issue a SET TARGET GROUP STATES command
d8af10dc Hannes Reinecke 2016-01-12  482   *
d8af10dc Hannes Reinecke 2016-01-12  483   * Issue a SET TARGET GROUP STATES command and evaluate the
0d223456 Hannes Reinecke 2016-01-12  484   * response. Returns SCSI_DH_RETRY per default to trigger
0d223456 Hannes Reinecke 2016-01-12  485   * a re-evaluation of the target group state or SCSI_DH_OK
0d223456 Hannes Reinecke 2016-01-12  486   * if no further action needs to be taken.

:::::: The code at line 478 was first introduced by commit
:::::: 057ea7c9683c3d684128cced796f03c179ecf1c2 [SCSI] scsi_dh: add generic SPC-3 alua handler

:::::: TO: Hannes Reinecke <hare@xxxxxxx>
:::::: CC: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[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