From 6527947abb6cabdae97d7353b3e3f24eed22371a Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 13 Jul 2010 12:24:13 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20"=E2=80=98wrap=E2=80=99=20may=20be=20used?= =?UTF-8?q?=20uninitialized"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1816 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qla2x00t/qla_init.c b/qla2x00t/qla_init.c index 0629830ce..b17b57d30 100644 --- a/qla2x00t/qla_init.c +++ b/qla2x00t/qla_init.c @@ -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);