]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fnic: host reset returns nonzero value(errno) on success
authorNarsimhulu Musini <nmusini@cisco.com>
Fri, 13 Sep 2013 00:45:41 +0000 (17:45 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:57:56 +0000 (09:57 +0100)
commit43f7f17302f063da37ab21a5fd9d1dfaa18c76a6
tree36b89979c567d0554140d29d50f6fcf7385c7894
parent7b5ded0b8879bf2cc100afc16205e4a8d4f6d389
[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>
drivers/scsi/fnic/fnic_scsi.c