Re: [PATCH 2/9] fnic: host reset returns nonzero value(errno) on success

2013-09-11 Thread James Bottomley
On Mon, 2013-09-09 at 13:31 -0700, Hiral Patel wrote: From: Narsimhulu Musini nmus...@cisco.com Fixed appropriate error codes that returns -1 on failure, and 0 on success This is about as undescriptive as they come. What you mean is that fnic_reset() is used directly by the fc transport

[PATCH 2/9] fnic: host reset returns nonzero value(errno) on success

2013-09-09 Thread Hiral Patel
From: Narsimhulu Musini nmus...@cisco.com Fixed appropriate error codes that returns -1 on failure, and 0 on success Signed-off-by: Narsimhulu Musini nmus...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com --- drivers/scsi/fnic/fnic_scsi.c |8 1 file changed, 4

[PATCH 2/9] fnic: host reset returns nonzero value(errno) on success

2013-08-29 Thread Hiral Patel
Fixed appropriate error codes that returns -1 on failure, and 0 on success Signed-off-by: Narsimhulu Musini nmus...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com --- drivers/scsi/fnic/fnic_scsi.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git