Skip to content

Commit 1523d50

Browse files
Miao Limartinkpetersen
authored andcommitted
scsi: core: Correct documentation for scsi_test_unit_ready()
If scsi_test_unit_ready() returns zero, TEST UNIT READY was executed successfully. Signed-off-by: Miao Li <limiao@kylinos.cn> Link: https://patch.msgid.link/20251218023129.284307-1-limiao870622@163.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent be4b7e5 commit 1523d50

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
@@ -2459,7 +2459,7 @@ EXPORT_SYMBOL(scsi_mode_sense);
24592459
* @retries: number of retries before failing
24602460
* @sshdr: outpout pointer for decoded sense information.
24612461
*
2462-
* Returns zero if unsuccessful or an error if TUR failed. For
2462+
* Returns zero if successful or an error if TUR failed. For
24632463
* removable media, UNIT_ATTENTION sets ->changed flag.
24642464
**/
24652465
int

0 commit comments

Comments
 (0)