summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2017-08-25 13:56:56 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 17:21:10 -0400
commit23cb27fd679cec8322a376c046dc79b47c30bbd4 (patch)
tree035c63bdb59e347064a03f6553c889e3233c4dca /drivers
parent052d8a7cbfbf90489ed83ab7d65c9559b799b97b (diff)
downloadlinux-23cb27fd679cec8322a376c046dc79b47c30bbd4.tar.gz
linux-23cb27fd679cec8322a376c046dc79b47c30bbd4.tar.bz2
linux-23cb27fd679cec8322a376c046dc79b47c30bbd4.zip
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')
-rw-r--r--drivers/scsi/scsi_lib.c2
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