Skip to content

Commit c131c9b

Browse files
Miao Limartinkpetersen
authored andcommitted
scsi: core: Correct documentation for scsi_device_quiesce()
If scsi_device_quiesce() returns zero, the function executed successfully. Signed-off-by: Miao Li <limiao@kylinos.cn> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://patch.msgid.link/20251124075444.32699-1-limiao870622@163.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 4588e65 commit c131c9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/scsi/scsi_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ EXPORT_SYMBOL_GPL(sdev_evt_send_simple);
28012801
*
28022802
* Must be called with user context, may sleep.
28032803
*
2804-
* Returns zero if unsuccessful or an error if not.
2804+
* Returns zero if successful or an error if not.
28052805
*/
28062806
int
28072807
scsi_device_quiesce(struct scsi_device *sdev)

0 commit comments

Comments
 (0)