[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251124075444.32699-1-limiao870622@163.com>
Date: Mon, 24 Nov 2025 15:54:44 +0800
From: Miao Li <limiao870622@....com>
To: James.Bottomley@...senPartnership.com,
martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org,
limiao870622@....com,
Miao Li <limiao@...inos.cn>
Subject: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
From: Miao Li <limiao@...inos.cn>
if scsi_device_quiesce() returns zero, the function executed successfully.
Signed-off-by: Miao Li <limiao@...inos.cn>
---
drivers/scsi/scsi_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index d7e42293b864..072d477b8f4b 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -2735,7 +2735,7 @@ EXPORT_SYMBOL_GPL(sdev_evt_send_simple);
*
* Must be called with user context, may sleep.
*
- * Returns zero if unsuccessful or an error if not.
+ * Returns zero if successful or an error if not.
*/
int
scsi_device_quiesce(struct scsi_device *sdev)
--
2.25.1
Powered by blists - more mailing lists