* [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
@ 2025-11-24 7:54 Miao Li
2025-11-24 7:59 ` Johannes Thumshirn
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Miao Li @ 2025-11-24 7:54 UTC (permalink / raw)
To: James.Bottomley, martin.petersen
Cc: linux-scsi, linux-kernel, limiao870622, Miao Li
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
2025-11-24 7:54 [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce() Miao Li
@ 2025-11-24 7:59 ` Johannes Thumshirn
2025-11-29 20:20 ` Martin K. Petersen
2025-12-09 3:21 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Johannes Thumshirn @ 2025-11-24 7:59 UTC (permalink / raw)
To: Miao Li, James.Bottomley, martin.petersen
Cc: linux-scsi, linux-kernel, Miao Li
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
2025-11-24 7:54 [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce() Miao Li
2025-11-24 7:59 ` Johannes Thumshirn
@ 2025-11-29 20:20 ` Martin K. Petersen
2025-12-09 3:21 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2025-11-29 20:20 UTC (permalink / raw)
To: Miao Li
Cc: James.Bottomley, martin.petersen, linux-scsi, linux-kernel, Miao Li
Miao,
> if scsi_device_quiesce() returns zero, the function executed
> successfully.
Applied to 6.19/scsi-staging, thanks!
--
Martin K. Petersen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce()
2025-11-24 7:54 [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce() Miao Li
2025-11-24 7:59 ` Johannes Thumshirn
2025-11-29 20:20 ` Martin K. Petersen
@ 2025-12-09 3:21 ` Martin K. Petersen
2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2025-12-09 3:21 UTC (permalink / raw)
To: James.Bottomley, Miao Li
Cc: Martin K . Petersen, linux-scsi, linux-kernel, Miao Li
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-09 3:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-24 7:54 [PATCH] scsi: scsi_lib: Correct the description of the return value for scsi_device_quiesce() Miao Li
2025-11-24 7:59 ` Johannes Thumshirn
2025-11-29 20:20 ` Martin K. Petersen
2025-12-09 3:21 ` Martin K. Petersen
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®