]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fnic: return zero on fnic_reset() success
authorJoe Jin <joe.jin@oracle.com>
Thu, 19 Jan 2012 08:04:25 +0000 (16:04 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 16 Feb 2012 00:04:07 +0000 (08:04 +0800)
commit1c438c3dc15d5b199bfd69aa9785774ffc792133
treeb290766fb7402e161941d5ce1df9bc0804e1b8e1
parent6028bc4cac9b7a3d524418eca8e0e05a76f35170
fnic: return zero on fnic_reset() success

When issue LIP by sysfs found write("1") returned 8194, this caused by
fnic_reset() return SUCCESS to store_fc_private_host_issue_lip(). Return 0/-1
for fnic_reset() fix this issue.

Tested-by: Sriharsha <sriharsha.devdas@oracle.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
Cc: Abhijeet Joglekar <abjoglek@cisco.com>
Cc: Venkata Siva Vijayendra Bhamidipati <vbhamidi@cisco.com>
Cc: Brian Uchino <buchino@cisco.com>
CC: stable@vger.kernel.org
drivers/scsi/fnic/fnic_scsi.c