diff options
author | Hannes Reinecke <[email protected]> | 2017-08-25 13:56:56 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-08-25 17:21:10 -0400 |
commit | 23cb27fd679cec8322a376c046dc79b47c30bbd4 (patch) | |
tree | 035c63bdb59e347064a03f6553c889e3233c4dca | |
parent | 052d8a7cbfbf90489ed83ab7d65c9559b799b97b (diff) |
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 <[email protected]>
Reviewed-by: Bart van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-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 |