[PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()

Miao Li posted 1 patch 2 months, 2 weeks ago
drivers/scsi/scsi_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
Posted by Miao Li 2 months, 2 weeks ago
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
Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
Posted by Martin K. Petersen 2 months ago
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
Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
Posted by Martin K. Petersen 2 months, 1 week ago
Miao,

> if scsi_device_quiesce() returns zero, the function executed
> successfully.

Applied to 6.19/scsi-staging, thanks!

-- 
Martin K. Petersen
Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
Posted by Johannes Thumshirn 2 months, 2 weeks ago
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>