Skip to contentSkip to conversation

be2iscsi: Fix for return type of mgmt_epfw_cleanup

PATCH In review Jayamohan Kallickal 1 participant 1 message Jul 12, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/20 be2iscsi: Fix for return type of mgmt_epfw_cleanup

The return type for mgmt_epfw_cleanup is int and
this patch fixes it

---
 drivers/scsi/be2iscsi/be_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/be2iscsi/be_main.c +1 -1
index 8552ee5..3ad3b59 100644
@@ -3294,7 +3294,7 @@ static void hwi_purge_eq(struct beiscsi_hba *phba)
 
 static void beiscsi_clean_port(struct beiscsi_hba *phba)
 {
-	unsigned char mgmt_status;
+	int  mgmt_status;
 
 	mgmt_status = mgmt_epfw_cleanup(phba, CMD_CONNECTION_CHUTE_0);
 	if (mgmt_status)
Signature · 1 line
1.6.5.2