mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
scsi: fix comment in scsi_device_set_state()
The function returns '0' if successful; with the original comment the function doesn't have a way to indicate success ... Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Bart van Assche <bvanassche@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
052d8a7cbf
commit
23cb27fd67
1 changed files with 1 additions and 1 deletions
|
@ -2548,7 +2548,7 @@ EXPORT_SYMBOL(scsi_test_unit_ready);
|
|||
* @sdev: scsi device to change the state of.
|
||||
* @state: state to change to.
|
||||
*
|
||||
* Returns zero if unsuccessful or an error if the requested
|
||||
* Returns zero if successful or an error if the requested
|
||||
* transition is illegal.
|
||||
*/
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue