diff mbox series

__scsi_remove_device: fix comments minor error

Message ID CAKHP1duT_jQ6pA7WnHPiYvoQvu1vVmAgUDp1kjhnngRufgijgA@mail.gmail.com (mailing list archive)
State Superseded
Headers show
Series __scsi_remove_device: fix comments minor error | expand

Commit Message

dudengke March 23, 2021, 7:24 a.m. UTC
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

Comments

Bart Van Assche March 23, 2021, 4:29 p.m. UTC | #1
On 3/23/21 12:24 AM, Du Dengke wrote:
>     When I read scsi kernel code, I found a spell error in
> __scsi_remove_device function comments. Patch was made in attach file.

Please include patches in the email body instead of sending these as an
attachment. Please also make yourself familiar with git send-email if
you are not yet familiar with it.

Thanks,

Bart.
diff mbox series

Patch

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