linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: Fix comment typo
@ 2022-08-11 15:11 min tang
  0 siblings, 0 replies; 3+ messages in thread
From: min tang @ 2022-08-11 15:11 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: hare, linux-scsi, linux-kernel, min tang

The double `the' is duplicated in line 208, remove one.

Signed-off-by: min tang <tangmin@cdjrlc.com>
---
 drivers/scsi/fcoe/fcoe_ctlr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index 39e16eab47aa..28e8b9f1e1a4 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -205,7 +205,7 @@ static int fcoe_sysfs_fcf_add(struct fcoe_fcf *new)
 		 * that doesn't have a priv (fcf was deleted). However,
 		 * libfcoe will always delete FCFs before trying to add
 		 * them. This is ensured because both recv_adv and
-		 * age_fcfs are protected by the the fcoe_ctlr's mutex.
+		 * age_fcfs are protected by the fcoe_ctlr's mutex.
 		 * This means that we should never get a FCF with a
 		 * non-NULL priv pointer.
 		 */
-- 
2.17.1


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

* [PATCH] scsi: Fix comment typo
@ 2022-08-11 15:34 min tang
  0 siblings, 0 replies; 3+ messages in thread
From: min tang @ 2022-08-11 15:34 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: linux-scsi, linux-kernel, min tang

The double `only' is duplicated in line 1806, remove one.

Signed-off-by: min tang <tangmin@cdjrlc.com>
---
 drivers/scsi/sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 749316462075..aae7ec6651e0 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1803,7 +1803,7 @@ static const struct block_device_operations sd_fops = {
  *
  *	This function is called by the SCSI midlayer before starting
  *	SCSI EH. When counting medium access failures we have to be
- *	careful to register it only only once per device and SCSI EH run;
+ *	careful to register it only once per device and SCSI EH run;
  *	there might be several timed out commands which will cause the
  *	'max_medium_access_timeouts' counter to trigger after the first
  *	SCSI EH run already and set the device to offline.
-- 
2.17.1



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

* [PATCH] scsi: Fix comment typo
@ 2022-07-25 12:02 min tang
  0 siblings, 0 replies; 3+ messages in thread
From: min tang @ 2022-07-25 12:02 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: linux-scsi, linux-kernel, min tang

The double `are' is duplicated in line 1229, remove one.

Signed-off-by: min tang <tangmin@cdjrlc.com>
---
 drivers/scsi/scsi_error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index cdaca13ac1f1..dececd2a2b91 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1226,7 +1226,7 @@ scsi_eh_action(struct scsi_cmnd *scmd, enum scsi_disposition rtn)
  * @done_q:	Queue for processed commands.
  *
  * Notes:
- *    We don't want to use the normal command completion while we are are
+ *    We don't want to use the normal command completion while we are
  *    still handling errors - it may cause other commands to be queued,
  *    and that would disturb what we are doing.  Thus we really want to
  *    keep a list of pending commands for final completion, and once we
-- 
2.17.1


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

end of thread, other threads:[~2022-08-11 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11 15:11 [PATCH] scsi: Fix comment typo min tang
  -- strict thread matches above, loose matches on Subject: below --
2022-08-11 15:34 min tang
2022-07-25 12:02 min tang

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).