From: Chuck Anderson Date: Sat, 11 Feb 2012 01:24:04 +0000 (-0800) Subject: Fix build warning with uninitialized variable X-Git-Tag: v2.6.39-400.9.0~610^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b8a932403e08f48a728667fdbca687b597ff60bc;p=users%2Fjedix%2Flinux-maple.git Fix build warning with uninitialized variable 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 --- diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index d3ebe4060dac6..a8c12a065dbaa 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c @@ -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;