aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.c
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-07-21 18:47:16 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:05:29 -0400
commit03a1231009927b7168d6d86a7a7f6c7f9b4be85a (patch)
treed8dd64421f69e6c9a535bf33bbaadc87f7230daa /drivers/scsi/be2iscsi/be_main.c
parentd3ad2bb31c26d7314fad98da8abb04f4fa24ed16 (diff)
[SCSI] be2iscsi: Fixing the return type of functions
Fixing some functions return values that did not match with the possible return values Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r--drivers/scsi/be2iscsi/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c
index e6259d7498f3..3b54dc72371e 100644
--- a/drivers/scsi/be2iscsi/be_main.c
+++ b/drivers/scsi/be2iscsi/be_main.c
@@ -3295,7 +3295,7 @@ static void hwi_purge_eq(struct beiscsi_hba *phba)
3295 3295
3296static void beiscsi_clean_port(struct beiscsi_hba *phba) 3296static void beiscsi_clean_port(struct beiscsi_hba *phba)
3297{ 3297{
3298 unsigned char mgmt_status; 3298 int mgmt_status;
3299 3299
3300 mgmt_status = mgmt_epfw_cleanup(phba, CMD_CONNECTION_CHUTE_0); 3300 mgmt_status = mgmt_epfw_cleanup(phba, CMD_CONNECTION_CHUTE_0);
3301 if (mgmt_status) 3301 if (mgmt_status)