All of lore.kernel.org
 help / color / mirror / Atom feed
From: min tang <tangmin@cdjrlc.com>
To: jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	min tang <tangmin@cdjrlc.com>
Subject: [PATCH] scsi: Fix comment typo
Date: Thu, 11 Aug 2022 23:34:44 +0800	[thread overview]
Message-ID: <20220811153444.13119-1-tangmin@cdjrlc.com> (raw)

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



             reply	other threads:[~2022-08-11 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 15:34 min tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-11 15:11 [PATCH] scsi: Fix comment typo min tang
2022-07-25 12:02 min tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220811153444.13119-1-tangmin@cdjrlc.com \
    --to=tangmin@cdjrlc.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.