diff options
author | Narsimhulu Musini <nmusini@cisco.com> | 2013-09-13 04:45:41 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-10-25 12:57:56 +0400 |
commit | 441fbd25954c30d821187203f7dc941bf7b6d792 (patch) | |
tree | 36b89979c567d0554140d29d50f6fcf7385c7894 /drivers/scsi/fnic/fnic_fcs.c | |
parent | 522db3c9e1a5d3e9bfbf23d9106180651338d1bd (diff) | |
download | linux-441fbd25954c30d821187203f7dc941bf7b6d792.tar.xz |
[SCSI] fnic: host reset returns nonzero value(errno) on success
Fixed appropriate error codes that returns negative error number on failure,
and 0 on success. fnic_reset() is used directly by the fc transport callback
issue_fc_host_lip which requires a negative error number on failure.
Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Hiral Patel <hiralpat@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_fcs.c')
0 files changed, 0 insertions, 0 deletions