mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
qla2xxx: Fix indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user