]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5a65886c0824367fbaddc1474ef026a84e6c46e
tree035c63bdb59e347064a03f6553c889e3233c4dca
parenta38b6c846850ffa6fb364029408f9b7f8f39cb65
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>
drivers/scsi/scsi_lib.c