* [PATCH] scsi: lpfc: lpfc_hbadisc: deleted these repeated words
@ 2021-06-09 7:01 lijian_8010a29
2021-06-10 3:14 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-06-09 7:01 UTC (permalink / raw)
To: james.smart, dick.kennedy, jejb, martin.petersen
Cc: linux-scsi, linux-kernel, lijian
From: lijian <lijian@yulong.com>
deleted these repeated words 'the' and 'random' in the comments.
Signed-off-by: lijian <lijian@yulong.com>
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index f5a898c2c904..40a5a7f02fa2 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -1837,7 +1837,7 @@ lpfc_check_pending_fcoe_event(struct lpfc_hba *phba, uint8_t unreg_fcf)
* use through a sequence of @fcf_cnt eligible FCF records with equal
* probability. To perform integer manunipulation of random numbers with
* size unit32_t, the lower 16 bits of the 32-bit random number returned
- * from prandom_u32() are taken as the random random number generated.
+ * from prandom_u32() are taken as the random number generated.
*
* Returns true when outcome is for the newly read FCF record should be
* chosen; otherwise, return false when outcome is for keeping the previously
@@ -2138,7 +2138,7 @@ static void lpfc_sli4_fcf_pri_list_del(struct lpfc_hba *phba,
* @phba: pointer to lpfc hba data structure.
* @fcf_index: the index of the fcf record to update
* This routine acquires the hbalock and then set the LPFC_FCF_FLOGI_FAILED
- * flag so the the round robin slection for the particular priority level
+ * flag so the round robin slection for the particular priority level
* will try a different fcf record that does not have this bit set.
* If the fcf record is re-read for any reason this flag is cleared brfore
* adding it to the priority list.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: lpfc: lpfc_hbadisc: deleted these repeated words
2021-06-09 7:01 [PATCH] scsi: lpfc: lpfc_hbadisc: deleted these repeated words lijian_8010a29
@ 2021-06-10 3:14 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-06-10 3:14 UTC (permalink / raw)
To: lijian_8010a29
Cc: james.smart, dick.kennedy, jejb, martin.petersen, linux-scsi,
linux-kernel, lijian
lijian_8010a29@163.com,
> @@ -2138,7 +2138,7 @@ static void lpfc_sli4_fcf_pri_list_del(struct lpfc_hba *phba,
> * @phba: pointer to lpfc hba data structure.
> * @fcf_index: the index of the fcf record to update
> * This routine acquires the hbalock and then set the LPFC_FCF_FLOGI_FAILED
> - * flag so the the round robin slection for the particular priority level
> + * flag so the round robin slection for the particular priority level
Another typo.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-10 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 7:01 [PATCH] scsi: lpfc: lpfc_hbadisc: deleted these repeated words lijian_8010a29
2021-06-10 3:14 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).