mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-20 15:02:18 +00:00
Fix "‘wrap’ may be used uninitialized" warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2695,6 +2695,7 @@ qla2x00_find_all_fabric_devs(scsi_qla_host_t *ha, struct list_head *new_fcports)
|
||||
scsi_qla_host_t *pha = to_qla_parent(ha);
|
||||
|
||||
rval = QLA_SUCCESS;
|
||||
wrap.b24 = 0; /* undefined */
|
||||
|
||||
/* Try GID_PT to get device list, else GAN. */
|
||||
swl = kcalloc(MAX_FIBRE_DEVICES, sizeof(sw_info_t), GFP_ATOMIC);
|
||||
|
||||
Reference in New Issue
Block a user