diff options
author | Hannes Reinecke <hare@suse.de> | 2017-08-25 14:56:56 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-26 00:21:10 +0300 |
commit | 23cb27fd679cec8322a376c046dc79b47c30bbd4 (patch) | |
tree | 035c63bdb59e347064a03f6553c889e3233c4dca /drivers/scsi/scsi_lib.c | |
parent | 052d8a7cbfbf90489ed83ab7d65c9559b799b97b (diff) | |
download | linux-23cb27fd679cec8322a376c046dc79b47c30bbd4.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 0270b35f7680..76adec714189 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -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 |