diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-06-04 18:58:09 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-06-13 11:51:39 -0400 |
commit | 8d2b21db49f1b8bfc882586932bdb3f707420b43 (patch) | |
tree | 4c00a3de5c4695f8e5f0270bc4db0e8ae1dcf0c4 /drivers/scsi/qla2xxx/qla_nx2.c | |
parent | 5897cb2fc3016c9c2e4b1e3ec91d47522e08bd6e (diff) |
qla2xxx: Fix indentation
Detected by smatch.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_nx2.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_nx2.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/drivers/scsi/qla2xxx/qla_nx2.c index ed4d6b6b53e3..000c57e4d033 100644 --- a/drivers/scsi/qla2xxx/qla_nx2.c +++ b/drivers/scsi/qla2xxx/qla_nx2.c | |||
@@ -397,11 +397,11 @@ qla8044_idc_lock(struct qla_hw_data *ha) | |||
397 | * has the lock, wait for 2secs | 397 | * has the lock, wait for 2secs |
398 | * and retry | 398 | * and retry |
399 | */ | 399 | */ |
400 | ql_dbg(ql_dbg_p3p, vha, 0xb08a, | 400 | ql_dbg(ql_dbg_p3p, vha, 0xb08a, |
401 | "%s: IDC lock Recovery by %d " | 401 | "%s: IDC lock Recovery by %d " |
402 | "failed, Retrying timeout\n", __func__, | 402 | "failed, Retrying timeout\n", __func__, |
403 | ha->portnum); | 403 | ha->portnum); |
404 | timeout = 0; | 404 | timeout = 0; |
405 | } | 405 | } |
406 | } | 406 | } |
407 | msleep(QLA8044_DRV_LOCK_MSLEEP); | 407 | msleep(QLA8044_DRV_LOCK_MSLEEP); |
@@ -3141,8 +3141,7 @@ qla8044_minidump_process_rdmdio(struct scsi_qla_host *vha, | |||
3141 | goto error; | 3141 | goto error; |
3142 | 3142 | ||
3143 | addr7 = addr2 - (4 * stride1); | 3143 | addr7 = addr2 - (4 * stride1); |
3144 | data = qla8044_ipmdio_rd_reg(vha, addr1, addr3, | 3144 | data = qla8044_ipmdio_rd_reg(vha, addr1, addr3, mask, addr7); |
3145 | mask, addr7); | ||
3146 | if (data == -1) | 3145 | if (data == -1) |
3147 | goto error; | 3146 | goto error; |
3148 | 3147 | ||