linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: lpfc: lpfc_init: deleted these repeated words
@ 2021-06-09  2:22 lijian_8010a29
  2021-06-10  3:13 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-06-09  2:22 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', 'using' and 'be' in the comments.

Signed-off-by: lijian <lijian@yulong.com>
---
 drivers/scsi/lpfc/lpfc_init.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 5f018d02bf56..f6c26342ad69 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -5105,7 +5105,7 @@ lpfc_sli4_async_link_evt(struct lpfc_hba *phba,
 	bf_set(lpfc_mbx_read_top_link_spd, la,
 	       (bf_get(lpfc_acqe_link_speed, acqe_link)));
 
-	/* Fake the the following irrelvant fields */
+	/* Fake the following irrelvant fields */
 	bf_set(lpfc_mbx_read_top_topology, la, LPFC_TOPOLOGY_PT_PT);
 	bf_set(lpfc_mbx_read_top_alpa_granted, la, 0);
 	bf_set(lpfc_mbx_read_top_il, la, 0);
@@ -5905,7 +5905,7 @@ lpfc_sli4_async_fip_evt(struct lpfc_hba *phba,
 				phba->fcf.fcf_flag &= ~FCF_ACVL_DISC;
 				spin_unlock_irq(&phba->hbalock);
 				/*
-				 * Last resort will be re-try on the
+				 * Last resort will be re-try on
 				 * the current registered FCF entry.
 				 */
 				lpfc_retry_pport_discovery(phba);
@@ -10829,7 +10829,7 @@ lpfc_find_cpu_handle(struct lpfc_hba *phba, uint16_t id, int match)
 	for_each_present_cpu(cpu) {
 		cpup = &phba->sli4_hba.cpu_map[cpu];
 
-		/* If we are matching by EQ, there may be multiple CPUs using
+		/* If we are matching by EQ, there may be multiple CPUs
 		 * using the same vector, so select the one with
 		 * LPFC_CPU_FIRST_IRQ set.
 		 */
@@ -11017,7 +11017,7 @@ lpfc_cpu_affinity_check(struct lpfc_hba *phba, int vectors)
 			/* Mark CPU as IRQ not assigned by the kernel */
 			cpup->flag |= LPFC_CPU_MAP_UNASSIGN;
 
-			/* If so, find a new_cpup thats on the the SAME
+			/* If so, find a new_cpup thats on the SAME
 			 * phys_id as cpup. start_cpu will start where we
 			 * left off so all unassigned entries don't get assgined
 			 * the IRQ of the first entry.
@@ -11868,7 +11868,7 @@ lpfc_unset_hba(struct lpfc_hba *phba)
  * I/Os every 30 seconds, log error message, and wait forever. Only when
  * all XRI exchange busy complete, the driver unload shall proceed with
  * invoking the function reset ioctl mailbox command to the CNA and the
- * the rest of the driver unload resource release.
+ * rest of the driver unload resource release.
  **/
 static void
 lpfc_sli4_xri_exchange_busy_wait(struct lpfc_hba *phba)
@@ -12046,7 +12046,7 @@ lpfc_sli4_hba_unset(struct lpfc_hba *phba)
  * This function is called in the SLI4 code path to read the port's
  * sli4 capabilities.
  *
- * This function may be be called from any context that can block-wait
+ * This function may be called from any context that can block-wait
  * for the completion.  The expectation is that this routine is called
  * typically from probe_one or from the online routine.
  **/
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: lpfc: lpfc_init: deleted these repeated words
  2021-06-09  2:22 [PATCH] scsi: lpfc: lpfc_init: deleted these repeated words lijian_8010a29
@ 2021-06-10  3:13 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-06-10  3:13 UTC (permalink / raw)
  To: lijian_8010a29
  Cc: james.smart, dick.kennedy, jejb, martin.petersen, linux-scsi,
	linux-kernel, lijian


lijian_8010a29@163.com,

> -	/* Fake the the following irrelvant fields */
> +	/* Fake the following irrelvant fields */

Please also fix the typo.

>  	bf_set(lpfc_mbx_read_top_topology, la, LPFC_TOPOLOGY_PT_PT);
>  	bf_set(lpfc_mbx_read_top_alpa_granted, la, 0);
>  	bf_set(lpfc_mbx_read_top_il, la, 0);
> @@ -5905,7 +5905,7 @@ lpfc_sli4_async_fip_evt(struct lpfc_hba *phba,
>  				phba->fcf.fcf_flag &= ~FCF_ACVL_DISC;
>  				spin_unlock_irq(&phba->hbalock);
>  				/*
> -				 * Last resort will be re-try on the
> +				 * Last resort will be re-try on

Please also fix the 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  2:22 [PATCH] scsi: lpfc: lpfc_init: deleted these repeated words lijian_8010a29
2021-06-10  3:13 ` 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).