drivers/scsi/scsi_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
From: Miao Li <limiao@kylinos.cn>
if scsi_device_quiesce() returns zero, the function executed successfully.
Signed-off-by: Miao Li <limiao@kylinos.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
On Mon, 24 Nov 2025 15:54:44 +0800, Miao Li wrote:
> if scsi_device_quiesce() returns zero, the function executed successfully.
>
>
Applied to 6.19/scsi-queue, thanks!
[1/1] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
https://git.kernel.org/mkp/scsi/c/c131c9bf98d9
--
Martin K. Petersen
Miao, > if scsi_device_quiesce() returns zero, the function executed > successfully. Applied to 6.19/scsi-staging, thanks! -- Martin K. Petersen
© 2016 - 2026 Red Hat, Inc.