@@ -1930,7 +1930,7 @@ lpfc_issue_cmf_sync_wqe(struct lpfc_hba *phba, u32 ms, u64 total)
1930
1930
sync_buf = __lpfc_sli_get_iocbq(phba);
1931
1931
if (!sync_buf) {
1932
1932
lpfc_printf_log(phba, KERN_ERR, LOG_CGN_MGMT,
1933
- "6213 No available WQEs for CMF_SYNC_WQE\n");
1933
+ "6244 No available WQEs for CMF_SYNC_WQE\n");
1934
1934
ret_val = ENOMEM;
1935
1935
goto out_unlock;
1936
1936
}
@@ -3805,7 +3805,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
3805
3805
set_job_ulpword4(cmdiocbp,
3806
3806
IOERR_ABORT_REQUESTED);
3807
3807
/*
3808
- * For SLI4, irsiocb contains
3808
+ * For SLI4, irspiocb contains
3809
3809
* NO_XRI in sli_xritag, it
3810
3810
* shall not affect releasing
3811
3811
* sgl (xri) process.
@@ -3823,7 +3823,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
3823
3823
}
3824
3824
}
3825
3825
}
3826
- ( cmdiocbp->cmd_cmpl) (phba, cmdiocbp, saveq);
3826
+ cmdiocbp->cmd_cmpl(phba, cmdiocbp, saveq);
3827
3827
} else
3828
3828
lpfc_sli_release_iocbq(phba, cmdiocbp);
3829
3829
} else {
@@ -4063,8 +4063,7 @@ lpfc_sli_handle_fast_ring_event(struct lpfc_hba *phba,
4063
4063
cmdiocbq->cmd_flag &= ~LPFC_DRIVER_ABORTED;
4064
4064
if (cmdiocbq->cmd_cmpl) {
4065
4065
spin_unlock_irqrestore(&phba->hbalock, iflag);
4066
- (cmdiocbq->cmd_cmpl)(phba, cmdiocbq,
4067
- &rspiocbq);
4066
+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, &rspiocbq);
4068
4067
spin_lock_irqsave(&phba->hbalock, iflag);
4069
4068
}
4070
4069
break;
@@ -10288,7 +10287,7 @@ __lpfc_sli_issue_iocb_s3(struct lpfc_hba *phba, uint32_t ring_number,
10288
10287
* @flag: Flag indicating if this command can be put into txq.
10289
10288
*
10290
10289
* __lpfc_sli_issue_fcp_io_s3 is wrapper function to invoke lockless func to
10291
- * send an iocb command to an HBA with SLI-4 interface spec.
10290
+ * send an iocb command to an HBA with SLI-3 interface spec.
10292
10291
*
10293
10292
* This function takes the hbalock before invoking the lockless version.
10294
10293
* The function will return success after it successfully submit the wqe to
@@ -12740,7 +12739,7 @@ lpfc_sli_wake_iocb_wait(struct lpfc_hba *phba,
12740
12739
cmdiocbq->cmd_cmpl = cmdiocbq->wait_cmd_cmpl;
12741
12740
cmdiocbq->wait_cmd_cmpl = NULL;
12742
12741
if (cmdiocbq->cmd_cmpl)
12743
- ( cmdiocbq->cmd_cmpl) (phba, cmdiocbq, NULL);
12742
+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, NULL);
12744
12743
else
12745
12744
lpfc_sli_release_iocbq(phba, cmdiocbq);
12746
12745
return;
@@ -12754,9 +12753,9 @@ lpfc_sli_wake_iocb_wait(struct lpfc_hba *phba,
12754
12753
12755
12754
/* Set the exchange busy flag for task management commands */
12756
12755
if ((cmdiocbq->cmd_flag & LPFC_IO_FCP) &&
12757
- !(cmdiocbq->cmd_flag & LPFC_IO_LIBDFC)) {
12756
+ !(cmdiocbq->cmd_flag & LPFC_IO_LIBDFC)) {
12758
12757
lpfc_cmd = container_of(cmdiocbq, struct lpfc_io_buf,
12759
- cur_iocbq);
12758
+ cur_iocbq);
12760
12759
if (rspiocbq && (rspiocbq->cmd_flag & LPFC_EXCHANGE_BUSY))
12761
12760
lpfc_cmd->flags |= LPFC_SBUF_XBUSY;
12762
12761
else
@@ -13896,7 +13895,7 @@ void lpfc_sli4_els_xri_abort_event_proc(struct lpfc_hba *phba)
13896
13895
* @irspiocbq: Pointer to work-queue completion queue entry.
13897
13896
*
13898
13897
* This routine handles an ELS work-queue completion event and construct
13899
- * a pseudo response ELS IODBQ from the SLI4 ELS WCQE for the common
13898
+ * a pseudo response ELS IOCBQ from the SLI4 ELS WCQE for the common
13900
13899
* discovery engine to handle.
13901
13900
*
13902
13901
* Return: Pointer to the receive IOCBQ, NULL otherwise.
@@ -13940,7 +13939,7 @@ lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba,
13940
13939
13941
13940
if (bf_get(lpfc_wcqe_c_xb, wcqe)) {
13942
13941
spin_lock_irqsave(&phba->hbalock, iflags);
13943
- cmdiocbq ->cmd_flag |= LPFC_EXCHANGE_BUSY;
13942
+ irspiocbq ->cmd_flag |= LPFC_EXCHANGE_BUSY;
13944
13943
spin_unlock_irqrestore(&phba->hbalock, iflags);
13945
13944
}
13946
13945
@@ -14799,7 +14798,7 @@ lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
14799
14798
/* Pass the cmd_iocb and the wcqe to the upper layer */
14800
14799
memcpy(&cmdiocbq->wcqe_cmpl, wcqe,
14801
14800
sizeof(struct lpfc_wcqe_complete));
14802
- ( cmdiocbq->cmd_cmpl) (phba, cmdiocbq, cmdiocbq);
14801
+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, cmdiocbq);
14803
14802
} else {
14804
14803
lpfc_printf_log(phba, KERN_WARNING, LOG_SLI,
14805
14804
"0375 FCP cmdiocb not callback function "
@@ -18956,7 +18955,7 @@ lpfc_sli4_send_seq_to_ulp(struct lpfc_vport *vport,
18956
18955
18957
18956
/* Free iocb created in lpfc_prep_seq */
18958
18957
list_for_each_entry_safe(curr_iocb, next_iocb,
18959
- &iocbq->list, list) {
18958
+ &iocbq->list, list) {
18960
18959
list_del_init(&curr_iocb->list);
18961
18960
lpfc_sli_release_iocbq(phba, curr_iocb);
18962
18961
}
0 commit comments