]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Fix build warning with uninitialized variable
authorChuck Anderson <chuck.anderson@oracle.com>
Sat, 11 Feb 2012 01:24:04 +0000 (17:24 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 11 Feb 2012 01:24:04 +0000 (17:24 -0800)
Oracle bug 13709784
Oracle bugzilla 13352
02/10/2012
Chuck Anderson

Patch Emulex LPFC device driver to 8.3.5.58.2p

commit id: 1b51197d0fd0c06877c6df1bba84ac4008a7fc60

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/lpfc/lpfc_bsg.c

index d3ebe4060dac64309940c112a5fbad1d939ff0df..a8c12a065dbaa22a8e716bcaf26d26f71746d8b5 100644 (file)
@@ -2805,7 +2805,7 @@ lpfc_bsg_diag_loopback_run(struct fc_bsg_job *job)
        struct lpfc_dmabufext *txbuffer = NULL;
        struct list_head head;
        struct lpfc_dmabuf  *curr;
-       uint16_t txxri, rxxri;
+       uint16_t txxri = 0, rxxri;
        uint32_t num_bde;
        uint8_t *ptr = NULL, *rx_databuf = NULL;
        int rc = 0;