Skip to content

Commit 442336a

Browse files
Bo Liumartinkpetersen
authored andcommitted
scsi: lpfc: Fix double word in comments
Remove the repeated word "the" in comments. [mkp: fixed additional typos in the changed lines] Link: https://lore.kernel.org/r/20230217083046.4090-1-liubo03@inspur.com Signed-off-by: Bo Liu <liubo03@inspur.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent fc66371 commit 442336a

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

drivers/scsi/lpfc/lpfc_attr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@ lpfc_sriov_hw_max_virtfn_show(struct device *dev,
25412541

25422542
/**
25432543
* lpfc_enable_bbcr_set: Sets an attribute value.
2544-
* @phba: pointer the the adapter structure.
2544+
* @phba: pointer to the adapter structure.
25452545
* @val: integer attribute value.
25462546
*
25472547
* Description:
@@ -2632,7 +2632,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
26322632
* takes a default argument, a minimum and maximum argument.
26332633
*
26342634
* lpfc_##attr##_init: Initializes an attribute.
2635-
* @phba: pointer the the adapter structure.
2635+
* @phba: pointer to the adapter structure.
26362636
* @val: integer attribute value.
26372637
*
26382638
* Validates the min and max values then sets the adapter config field
@@ -2665,7 +2665,7 @@ lpfc_##attr##_init(struct lpfc_hba *phba, uint val) \
26652665
* into a function with the name lpfc_hba_queue_depth_set
26662666
*
26672667
* lpfc_##attr##_set: Sets an attribute value.
2668-
* @phba: pointer the the adapter structure.
2668+
* @phba: pointer to the adapter structure.
26692669
* @val: integer attribute value.
26702670
*
26712671
* Description:
@@ -2794,7 +2794,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
27942794
* lpfc_##attr##_init: validates the min and max values then sets the
27952795
* adapter config field accordingly, or uses the default if out of range
27962796
* and prints an error message.
2797-
* @phba: pointer the the adapter structure.
2797+
* @phba: pointer to the adapter structure.
27982798
* @val: integer attribute value.
27992799
*
28002800
* Returns:
@@ -2826,7 +2826,7 @@ lpfc_##attr##_init(struct lpfc_vport *vport, uint val) \
28262826
* lpfc_##attr##_set: validates the min and max values then sets the
28272827
* adapter config field if in the valid range. prints error message
28282828
* and does not set the parameter if invalid.
2829-
* @phba: pointer the the adapter structure.
2829+
* @phba: pointer to the adapter structure.
28302830
* @val: integer attribute value.
28312831
*
28322832
* Returns:

drivers/scsi/lpfc/lpfc_els.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8886,7 +8886,7 @@ lpfc_els_rcv_rtv(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb,
88868886
* @rrq: Pointer to the rrq struct.
88878887
*
88888888
* Build a ELS RRQ command and send it to the target. If the issue_iocb is
8889-
* Successful the the completion handler will clear the RRQ.
8889+
* successful, the completion handler will clear the RRQ.
88908890
*
88918891
* Return codes
88928892
* 0 - Successfully sent rrq els iocb.

drivers/scsi/lpfc/lpfc_hbadisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@ static void lpfc_sli4_fcf_pri_list_del(struct lpfc_hba *phba,
24592459
* @phba: pointer to lpfc hba data structure.
24602460
* @fcf_index: the index of the fcf record to update
24612461
* This routine acquires the hbalock and then set the LPFC_FCF_FLOGI_FAILED
2462-
* flag so the the round robin slection for the particular priority level
2462+
* flag so the round robin selection for the particular priority level
24632463
* will try a different fcf record that does not have this bit set.
24642464
* If the fcf record is re-read for any reason this flag is cleared brfore
24652465
* adding it to the priority list.

drivers/scsi/lpfc/lpfc_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5501,7 +5501,7 @@ lpfc_sli4_async_link_evt(struct lpfc_hba *phba,
55015501
bf_set(lpfc_mbx_read_top_link_spd, la,
55025502
(bf_get(lpfc_acqe_link_speed, acqe_link)));
55035503

5504-
/* Fake the the following irrelvant fields */
5504+
/* Fake the following irrelevant fields */
55055505
bf_set(lpfc_mbx_read_top_topology, la, LPFC_TOPOLOGY_PT_PT);
55065506
bf_set(lpfc_mbx_read_top_alpa_granted, la, 0);
55075507
bf_set(lpfc_mbx_read_top_il, la, 0);
@@ -12548,7 +12548,7 @@ lpfc_cpu_affinity_check(struct lpfc_hba *phba, int vectors)
1254812548
/* Mark CPU as IRQ not assigned by the kernel */
1254912549
cpup->flag |= LPFC_CPU_MAP_UNASSIGN;
1255012550

12551-
/* If so, find a new_cpup thats on the the SAME
12551+
/* If so, find a new_cpup that is on the SAME
1255212552
* phys_id as cpup. start_cpu will start where we
1255312553
* left off so all unassigned entries don't get assgined
1255412554
* the IRQ of the first entry.

drivers/scsi/lpfc/lpfc_mbox.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ lpfc_sli4_dump_page_a0(struct lpfc_hba *phba, struct lpfcMboxq *mbox)
25092509
* information via a READ_FCF mailbox command. This mailbox command also is used
25102510
* to indicate where received unsolicited frames from this FCF will be sent. By
25112511
* default this routine will set up the FCF to forward all unsolicited frames
2512-
* the the RQ ID passed in the @phba. This can be overridden by the caller for
2512+
* to the RQ ID passed in the @phba. This can be overridden by the caller for
25132513
* more complicated setups.
25142514
**/
25152515
void
@@ -2577,7 +2577,7 @@ lpfc_reg_fcfi(struct lpfc_hba *phba, struct lpfcMboxq *mbox)
25772577
* information via a READ_FCF mailbox command. This mailbox command also is used
25782578
* to indicate where received unsolicited frames from this FCF will be sent. By
25792579
* default this routine will set up the FCF to forward all unsolicited frames
2580-
* the the RQ ID passed in the @phba. This can be overridden by the caller for
2580+
* to the RQ ID passed in the @phba. This can be overridden by the caller for
25812581
* more complicated setups.
25822582
**/
25832583
void

drivers/scsi/lpfc/lpfc_nvmet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ lpfc_nvmet_cleanup_io_context(struct lpfc_hba *phba)
14691469
if (!infop)
14701470
return;
14711471

1472-
/* Cycle the the entire CPU context list for every MRQ */
1472+
/* Cycle the entire CPU context list for every MRQ */
14731473
for (i = 0; i < phba->cfg_nvmet_mrq; i++) {
14741474
for_each_present_cpu(j) {
14751475
infop = lpfc_get_ctx_list(phba, j, i);

drivers/scsi/lpfc/lpfc_sli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20804,7 +20804,7 @@ lpfc_log_fw_write_cmpl(struct lpfc_hba *phba, u32 shdr_status,
2080420804
* the offset after the write object mailbox has completed. @size is used to
2080520805
* determine the end of the object and whether the eof bit should be set.
2080620806
*
20807-
* Return 0 is successful and offset will contain the the new offset to use
20807+
* Return 0 is successful and offset will contain the new offset to use
2080820808
* for the next write.
2080920809
* Return negative value for error cases.
2081020810
**/

0 commit comments

Comments
 (0)