mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* __scsi_remove_device: fix comments minor error
@ 2021-03-23  7:24 Du Dengke
  2021-03-23 16:29 ` Bart Van Assche
  0 siblings, 1 reply; 2+ messages in thread
From: Du Dengke @ 2021-03-23  7:24 UTC (permalink / raw)
  To: jejb, martin.petersen, linux-scsi; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

Hi experts:
    When I read scsi kernel code, I found a spell error in
__scsi_remove_device function comments. Patch was made in attach file.
Thanks
//dengke

[-- Attachment #2: 0001-__scsi_remove_device-fix-comments-minor-error.patch --]
[-- Type: text/x-patch, Size: 914 bytes --]

From 420e051b624c81d298564c416b5a96188dd0bb6a Mon Sep 17 00:00:00 2001
From: dudengke <dengke.du@ucas.com.cn>
Date: Tue, 23 Mar 2021 10:57:07 +0800
Subject: [PATCH] __scsi_remove_device: fix comments minor error

Signed-off-by: dudengke <dengke.du@ucas.com.cn>
---
 drivers/scsi/scsi_sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index b6378c8ca783..86e8d0bf821d 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -1458,7 +1458,7 @@ void __scsi_remove_device(struct scsi_device *sdev)
 
 	/*
 	 * Paired with the kref_get() in scsi_sysfs_initialize().  We have
-	 * remoed sysfs visibility from the device, so make the target
+	 * removed sysfs visibility from the device, so make the target
 	 * invisible if this was the last device underneath it.
 	 */
 	scsi_target_reap(scsi_target(sdev));
-- 
2.25.1


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

end of thread, other threads:[~2021-03-23 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  7:24 __scsi_remove_device: fix comments minor error Du Dengke
2021-03-23 16:29 ` Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®