lkml.org 
[lkml]   [2022]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] scsi: Fix comment typo
Date
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

\
 
 \ /
  Last update: 2022-08-11 17:43    [W:0.852 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site