scsi: fix comment in scsi_device_set_state()
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:56:56 +0000 (13:56 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:21:10 +0000 (17:21 -0400)
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>
drivers/scsi/scsi_lib.c

index 0270b35f7680fae2db380bb5edcc6225cbab0346..76adec7141893535a31bff37b87f4d91c11ff339 100644 (file)
@@ -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