From e75e67bb51cb7bdc60e53738b90682db32c789af Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 11 Jul 2015 03:46:28 +0000 Subject: [PATCH] qla2xxx: Fix indentation git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6419 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_gs.c | 2 +- qla2x00t/qla_init.c | 2 +- qla2x00t/qla_iocb.c | 6 +++--- qla2x00t/qla_nx.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qla2x00t/qla_gs.c b/qla2x00t/qla_gs.c index 10d5b853a..18dad7da1 100644 --- a/qla2x00t/qla_gs.c +++ b/qla2x00t/qla_gs.c @@ -1717,7 +1717,7 @@ int qla2x00_fdmi_register(scsi_qla_host_t *vha) { int rval; - struct qla_hw_data *ha = vha->hw; + struct qla_hw_data *ha = vha->hw; if (IS_QLA2100(ha) || IS_QLA2200(ha)) return QLA_FUNCTION_FAILED; diff --git a/qla2x00t/qla_init.c b/qla2x00t/qla_init.c index e0c01ceca..e36270fd1 100644 --- a/qla2x00t/qla_init.c +++ b/qla2x00t/qla_init.c @@ -530,7 +530,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha) if (rval != QLA_SUCCESS) { ql_log(ql_log_warn, vha, 0x00d4, "Unable to initialize ISP84XX.\n"); - qla84xx_put_chip(vha); + qla84xx_put_chip(vha); } } diff --git a/qla2x00t/qla_iocb.c b/qla2x00t/qla_iocb.c index aa236d2ae..1fcdb2f14 100644 --- a/qla2x00t/qla_iocb.c +++ b/qla2x00t/qla_iocb.c @@ -388,9 +388,9 @@ qla2x00_start_scsi(srb_t *sp) req->cnt = req->length - (req->ring_index - cnt); } - /* If still no head room then bail out */ - if (req->cnt < (req_cnt + 2)) - goto queuing_error; + /* If still no head room then bail out */ + if (req->cnt < (req_cnt + 2)) + goto queuing_error; /* Build command packet */ req->current_outstanding_cmd = handle; diff --git a/qla2x00t/qla_nx.c b/qla2x00t/qla_nx.c index 266c1a15d..df786a551 100644 --- a/qla2x00t/qla_nx.c +++ b/qla2x00t/qla_nx.c @@ -1842,7 +1842,7 @@ qla82xx_set_product_offset(struct qla_hw_data *ha) ptab_desc = qla82xx_get_table_desc(unirom, QLA82XX_URI_DIR_SECT_PRODUCT_TBL); - if (!ptab_desc) + if (!ptab_desc) return -1; entries = cpu_to_le32(ptab_desc->num_entries);