@@ -1930,7 +1930,7 @@ lpfc_issue_cmf_sync_wqe(struct lpfc_hba *phba, u32 ms, u64 total)
19301930 sync_buf = __lpfc_sli_get_iocbq(phba);
19311931 if (!sync_buf) {
19321932 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");
19341934 ret_val = ENOMEM;
19351935 goto out_unlock;
19361936 }
@@ -3805,7 +3805,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
38053805 set_job_ulpword4(cmdiocbp,
38063806 IOERR_ABORT_REQUESTED);
38073807 /*
3808- * For SLI4, irsiocb contains
3808+ * For SLI4, irspiocb contains
38093809 * NO_XRI in sli_xritag, it
38103810 * shall not affect releasing
38113811 * sgl (xri) process.
@@ -3823,7 +3823,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
38233823 }
38243824 }
38253825 }
3826- ( cmdiocbp->cmd_cmpl) (phba, cmdiocbp, saveq);
3826+ cmdiocbp->cmd_cmpl(phba, cmdiocbp, saveq);
38273827 } else
38283828 lpfc_sli_release_iocbq(phba, cmdiocbp);
38293829 } else {
@@ -4063,8 +4063,7 @@ lpfc_sli_handle_fast_ring_event(struct lpfc_hba *phba,
40634063 cmdiocbq->cmd_flag &= ~LPFC_DRIVER_ABORTED;
40644064 if (cmdiocbq->cmd_cmpl) {
40654065 spin_unlock_irqrestore(&phba->hbalock, iflag);
4066- (cmdiocbq->cmd_cmpl)(phba, cmdiocbq,
4067- &rspiocbq);
4066+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, &rspiocbq);
40684067 spin_lock_irqsave(&phba->hbalock, iflag);
40694068 }
40704069 break;
@@ -10288,7 +10287,7 @@ __lpfc_sli_issue_iocb_s3(struct lpfc_hba *phba, uint32_t ring_number,
1028810287 * @flag: Flag indicating if this command can be put into txq.
1028910288 *
1029010289 * __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.
1029210291 *
1029310292 * This function takes the hbalock before invoking the lockless version.
1029410293 * 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,
1274012739 cmdiocbq->cmd_cmpl = cmdiocbq->wait_cmd_cmpl;
1274112740 cmdiocbq->wait_cmd_cmpl = NULL;
1274212741 if (cmdiocbq->cmd_cmpl)
12743- ( cmdiocbq->cmd_cmpl) (phba, cmdiocbq, NULL);
12742+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, NULL);
1274412743 else
1274512744 lpfc_sli_release_iocbq(phba, cmdiocbq);
1274612745 return;
@@ -12754,9 +12753,9 @@ lpfc_sli_wake_iocb_wait(struct lpfc_hba *phba,
1275412753
1275512754 /* Set the exchange busy flag for task management commands */
1275612755 if ((cmdiocbq->cmd_flag & LPFC_IO_FCP) &&
12757- !(cmdiocbq->cmd_flag & LPFC_IO_LIBDFC)) {
12756+ !(cmdiocbq->cmd_flag & LPFC_IO_LIBDFC)) {
1275812757 lpfc_cmd = container_of(cmdiocbq, struct lpfc_io_buf,
12759- cur_iocbq);
12758+ cur_iocbq);
1276012759 if (rspiocbq && (rspiocbq->cmd_flag & LPFC_EXCHANGE_BUSY))
1276112760 lpfc_cmd->flags |= LPFC_SBUF_XBUSY;
1276212761 else
@@ -13896,7 +13895,7 @@ void lpfc_sli4_els_xri_abort_event_proc(struct lpfc_hba *phba)
1389613895 * @irspiocbq: Pointer to work-queue completion queue entry.
1389713896 *
1389813897 * 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
1390013899 * discovery engine to handle.
1390113900 *
1390213901 * Return: Pointer to the receive IOCBQ, NULL otherwise.
@@ -13940,7 +13939,7 @@ lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba,
1394013939
1394113940 if (bf_get(lpfc_wcqe_c_xb, wcqe)) {
1394213941 spin_lock_irqsave(&phba->hbalock, iflags);
13943- cmdiocbq ->cmd_flag |= LPFC_EXCHANGE_BUSY;
13942+ irspiocbq ->cmd_flag |= LPFC_EXCHANGE_BUSY;
1394413943 spin_unlock_irqrestore(&phba->hbalock, iflags);
1394513944 }
1394613945
@@ -14799,7 +14798,7 @@ lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
1479914798 /* Pass the cmd_iocb and the wcqe to the upper layer */
1480014799 memcpy(&cmdiocbq->wcqe_cmpl, wcqe,
1480114800 sizeof(struct lpfc_wcqe_complete));
14802- ( cmdiocbq->cmd_cmpl) (phba, cmdiocbq, cmdiocbq);
14801+ cmdiocbq->cmd_cmpl(phba, cmdiocbq, cmdiocbq);
1480314802 } else {
1480414803 lpfc_printf_log(phba, KERN_WARNING, LOG_SLI,
1480514804 "0375 FCP cmdiocb not callback function "
@@ -18956,7 +18955,7 @@ lpfc_sli4_send_seq_to_ulp(struct lpfc_vport *vport,
1895618955
1895718956 /* Free iocb created in lpfc_prep_seq */
1895818957 list_for_each_entry_safe(curr_iocb, next_iocb,
18959- &iocbq->list, list) {
18958+ &iocbq->list, list) {
1896018959 list_del_init(&curr_iocb->list);
1896118960 lpfc_sli_release_iocbq(phba, curr_iocb);
1896218961 }
0 commit comments