Commit 8d2b21db authored by Bart Van Assche's avatar Bart Van Assche Committed by James Bottomley

qla2xxx: Fix indentation

Detected by smatch.
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Acked-by: default avatarHimanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 5897cb2f
...@@ -708,7 +708,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha) ...@@ -708,7 +708,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha)
if (rval != QLA_SUCCESS) { if (rval != QLA_SUCCESS) {
ql_log(ql_log_warn, vha, 0x00d4, ql_log(ql_log_warn, vha, 0x00d4,
"Unable to initialize ISP84XX.\n"); "Unable to initialize ISP84XX.\n");
qla84xx_put_chip(vha); qla84xx_put_chip(vha);
} }
} }
......
...@@ -2797,10 +2797,10 @@ qla2x00_start_bidir(srb_t *sp, struct scsi_qla_host *vha, uint32_t tot_dsds) ...@@ -2797,10 +2797,10 @@ qla2x00_start_bidir(srb_t *sp, struct scsi_qla_host *vha, uint32_t tot_dsds)
handle = req->current_outstanding_cmd; handle = req->current_outstanding_cmd;
for (index = 1; index < req->num_outstanding_cmds; index++) { for (index = 1; index < req->num_outstanding_cmds; index++) {
handle++; handle++;
if (handle == req->num_outstanding_cmds) if (handle == req->num_outstanding_cmds)
handle = 1; handle = 1;
if (!req->outstanding_cmds[handle]) if (!req->outstanding_cmds[handle])
break; break;
} }
if (index == req->num_outstanding_cmds) { if (index == req->num_outstanding_cmds) {
......
...@@ -1580,7 +1580,7 @@ qla24xx_tm_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, void *tsk) ...@@ -1580,7 +1580,7 @@ qla24xx_tm_iocb_entry(scsi_qla_host_t *vha, struct req_que *req, void *tsk)
ql_log(ql_log_warn, fcport->vha, 0x503c, ql_log(ql_log_warn, fcport->vha, 0x503c,
"Async-%s error - hdl=%x response(%x).\n", "Async-%s error - hdl=%x response(%x).\n",
type, sp->handle, sts->data[3]); type, sp->handle, sts->data[3]);
iocb->u.tmf.data = QLA_FUNCTION_FAILED; iocb->u.tmf.data = QLA_FUNCTION_FAILED;
} }
} }
...@@ -1979,7 +1979,7 @@ qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt, ...@@ -1979,7 +1979,7 @@ qla25xx_process_bidir_status_iocb(scsi_qla_host_t *vha, void *pkt,
rval = EXT_STATUS_ERR; rval = EXT_STATUS_ERR;
break; break;
} }
bsg_job->reply->reply_payload_rcv_len = 0; bsg_job->reply->reply_payload_rcv_len = 0;
done: done:
/* Return the vendor specific reply to API */ /* Return the vendor specific reply to API */
......
...@@ -1843,7 +1843,7 @@ qla82xx_set_product_offset(struct qla_hw_data *ha) ...@@ -1843,7 +1843,7 @@ qla82xx_set_product_offset(struct qla_hw_data *ha)
ptab_desc = qla82xx_get_table_desc(unirom, ptab_desc = qla82xx_get_table_desc(unirom,
QLA82XX_URI_DIR_SECT_PRODUCT_TBL); QLA82XX_URI_DIR_SECT_PRODUCT_TBL);
if (!ptab_desc) if (!ptab_desc)
return -1; return -1;
entries = cpu_to_le32(ptab_desc->num_entries); entries = cpu_to_le32(ptab_desc->num_entries);
......
...@@ -397,11 +397,11 @@ qla8044_idc_lock(struct qla_hw_data *ha) ...@@ -397,11 +397,11 @@ qla8044_idc_lock(struct qla_hw_data *ha)
* has the lock, wait for 2secs * has the lock, wait for 2secs
* and retry * and retry
*/ */
ql_dbg(ql_dbg_p3p, vha, 0xb08a, ql_dbg(ql_dbg_p3p, vha, 0xb08a,
"%s: IDC lock Recovery by %d " "%s: IDC lock Recovery by %d "
"failed, Retrying timeout\n", __func__, "failed, Retrying timeout\n", __func__,
ha->portnum); ha->portnum);
timeout = 0; timeout = 0;
} }
} }
msleep(QLA8044_DRV_LOCK_MSLEEP); msleep(QLA8044_DRV_LOCK_MSLEEP);
...@@ -3141,8 +3141,7 @@ qla8044_minidump_process_rdmdio(struct scsi_qla_host *vha, ...@@ -3141,8 +3141,7 @@ qla8044_minidump_process_rdmdio(struct scsi_qla_host *vha,
goto error; goto error;
addr7 = addr2 - (4 * stride1); addr7 = addr2 - (4 * stride1);
data = qla8044_ipmdio_rd_reg(vha, addr1, addr3, data = qla8044_ipmdio_rd_reg(vha, addr1, addr3, mask, addr7);
mask, addr7);
if (data == -1) if (data == -1)
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment